Submit
Path:
~
/
/
usr
/
lib
/
runit
/
File Content:
run_sysv_scripts
#!/bin/sh -u # Deliberately NO `set -e'. See #923957. initdir="${1}" set +u if [ x = x$2 ]; then rcommand=start rX=S else rcommand=stop rX=K fi set -u for script in "$initdir/$rX"* ; do path=$(realpath "$script") name=$(basename "$path") # Special case for wicd. Runscript is called "wicd-daemon", # to match binary package name. [ -d "/etc/sv/$name" ] && continue [ -d "/etc/sv/$name-daemon" ] && continue "$script" "$rcommand" done
Submit
FILE
FOLDER
Name
Size
Permission
Action
async-timeout
14632 bytes
0755
finish-default
750 bytes
0755
invoke-run
2168 bytes
0755
run_sysv_scripts
445 bytes
0755
runit-init
14680 bytes
0755
runlevel
174 bytes
0755
shutdown
14632 bytes
0755
N4ST4R_ID | Naxtarrr