Use systemd as init with /sbin/init
Some checks failed
Test / test (push) Has been cancelled
Renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-12-25 01:55:07 +00:00
parent 7b0065f75a
commit b96e3a46bf
6 changed files with 9 additions and 86 deletions

View File

@@ -36,15 +36,7 @@ start_gui() {
pids+=($!)
}
start_vpnagent() {
# Load TUN module if needed
/opt/cisco/secureclient/bin/load_tun.sh 2>/dev/null || true
# Clean up stale IPC socket
rm -f /root/.cisco/hostscan/.libcsd.ipc 2>/dev/null || true
# Start Cisco VPN agent daemon
/opt/cisco/secureclient/bin/vpnagentd &
pids+=($!)
}
# vpnagentd is now started by systemd (cisco-vpnagentd.service)
setup_tun() {
mkdir -p /dev/net
@@ -73,7 +65,6 @@ setup_tun
setup_nat
start_dbus
start_gui
start_vpnagent
start_terminal
echo "All services started. noVNC available on port $NOVNC_PORT"