--- etc/freebsd/1.orig 2023-06-06 12:43:28 UTC +++ etc/freebsd/1 @@ -1,7 +1,7 @@ #!/bin/sh # system one time tasks -PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin +PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/sbin:%%PREFIX%%/bin trap : 2 trap : 3 @@ -13,5 +13,5 @@ if test $? -ne 0; then sh -p exec reboot fi -touch /etc/runit/stopit -chmod 0 /etc/runit/stopit +touch /etc/runit/stopit /etc/runit/reboot +chmod 0 /etc/runit/stopit /etc/runit/reboot