Add geminux-imsd (VoLTE/VoWiFi/SMS), kernel XFRM, and hardware Airplane Mode (Fn+F)
This commit is contained in:
1 parent
92a31539e6
commit
ac76431621
84 files changed
+4209
-103
No files matched your search
@@ -37,6 +37,9 @@ start_pre() {
|
||||
}
|
||||
|
||||
start_post() {
|
||||
if grep -q '^airplane=1$' /var/lib/geminux/airplane-mode 2>/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
[ -f /etc/geminux/ccci-autostart ] || return 0
|
||||
local state_file="/sys/class/mt6797_ccci/md1/state"
|
||||
local i=0
|
||||
|
||||
@@ -60,7 +60,9 @@ start() {
|
||||
load_group panfrost rt5735-regulator clk-mt6797-mfg panfrost
|
||||
fi
|
||||
|
||||
if [ "${GEMINUX_ENABLE_CONSYS:-yes}" = "yes" ]; then
|
||||
if grep -q '^airplane=1$' /var/lib/geminux/airplane-mode 2>/dev/null; then
|
||||
log_msg "group=consys skipped (airplane mode persisted)"
|
||||
elif [ "${GEMINUX_ENABLE_CONSYS:-yes}" = "yes" ]; then
|
||||
if command -v iw >/dev/null 2>&1; then
|
||||
iw reg reload >> "$LOG_FILE" 2>&1 || true
|
||||
fi
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service for Geminux 3GPP IMS (VoLTE, VoWiFi & SMS-over-IMS) daemon.
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name="geminux-imsd"
|
||||
description="Geminux Pure-C11 3GPP IMS (VoLTE / VoWiFi / SMS-over-IMS) daemon"
|
||||
command="/usr/sbin/geminux-imsd"
|
||||
pidfile="/run/geminux-imsd.pid"
|
||||
|
||||
depend() {
|
||||
need localmount geminux-ccci
|
||||
after modules geminux-hwinit geminux-ccci networkmanager dbus
|
||||
}
|
||||
Reference in new issue
Block a user