File manager - Edit - /etc/runit/3
Back
#!/bin/sh exec 2>&1 PATH=/sbin:/usr/sbin:/bin:/usr/bin LAST=0 # While test -x is more natural, it does not consider file with # executable bit set on 'noexec' filesystem as executable, and /run # often is mounted as 'noexec'. [ $(stat -c %a /run/runit.reboot) = 100 ] && LAST=6 echo 'Waiting for services to stop...' sv force-stop /etc/service/* sv exit /etc/service/* echo 'Shutdown...' /etc/init.d/rc $LAST
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.29 |
proxy
|
phpinfo
|
Settings