1 parent
0c10cc734a
commit
a5935bb1a9
15 files changed
+548
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Simple helper to update tailscale before its own init runs
|
||||
# Provides: update_tailscale
|
||||
# Required-Start: $network
|
||||
# Required-Stop:
|
||||
# Default-Start: S # earliest boot stage
|
||||
# Default-Stop:
|
||||
# Short-Description: Pre-flight Tailscale update
|
||||
|
||||
START=50 # Run before Tailscale (typically START~80)
|
||||
USE_PROCD=1
|
||||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command /etc/ldlda_help/update_tailscale.sh
|
||||
procd_set_param respawn 0 0 0
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
: # one-shot
|
||||
}
|
||||
Reference in new issue
Block a user