Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /usr/lib/runit/ |
Upload File : |
#!/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