Bug#513237: rc.local not being passed stop or start parameter

2009-01-27 Thread Petter Reinholdtsen
Putting the BTS back on CC. [John Andrea] > All other init scripts are designed to start and stop. It has always > been an obvious step for me. I just symlink it from > rc[0|6].d/K00local. Been doing it for 12+ years. Are you talking about /etc/rc.local, or /etc/init.d/rc.local here? > Is ther

Bug#513237: rc.local not being passed stop or start parameter

2009-01-27 Thread Petter Reinholdtsen
[John Andrea] > /etc/init.d/rc.local does not pass the stop or start parameter to > /etc/rc.local which prevents logic inside /etc/rc.local from > determining its state. As far as I know, rc.local is only defined to run at boot, not during shutdown. Where did you get the idea that it would run

Bug#513237: rc.local not being passed stop or start parameter

2009-01-27 Thread John Andrea
Package: initscripts Version: 2.86.ds1-61 /etc/init.d/rc.local does not pass the stop or start parameter to /etc/rc.local which prevents logic inside /etc/rc.local from determining its state. The following line: /etc/rc.local should be: /etc/rc.local $1 The fo