Today I was bitten by the fact that /etc/rc.shutdown and /etc/rc set different
PATHs at least on 12.3-STABLE (I used a command sitting in /usr/local/sbin w/o
specifying its path and it worked in stop_cmd() but not in start_cmd()):

/etc/rc.shutdown: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
/etc/rc:          PATH=/sbin:/bin:/usr/sbin:/usr/bin

Is there a reason for this? Or should they be made equal? In the latter case
I will file a PR...

        -Andre

Reply via email to