Re: Getting my init-script to run at the correct time

2010-07-15 Thread Arthur Machlas
On 7/11/10, Bob Proulx wrote: > Thue Janus Kristensen wrote: >> I am having trouble getting it to run at the right place in the shutdown >> sequence. It used to work, but recently stopped working for no apparent >> reason. ## Changes to init script # Required start: # Required stop: $custom ## Ad

Re: Getting my init-script to run at the correct time

2010-07-15 Thread Arthur Machlas
Forgot to include this info: Squeeze is parallel by default as well now. I know this because I'm running it. :) It also has insserv installed by default, which handles the ordering of scripts, so manually changing the number will work for a short time, if at all, and be overwritten by any updates t

Re: Getting my init-script to run at the correct time

2010-07-11 Thread Bob Proulx
Thue Janus Kristensen wrote: > I am having trouble getting it to run at the right place in the shutdown > sequence. It used to work, but recently stopped working for no apparent > reason. What Debian release are you running? Lenny, Sqeeze or Sid? In Lenny the startup and shutdown is still the tr

Getting my init-script to run at the correct time

2010-07-11 Thread Thue Janus Kristensen
I have a custom initscript /etc/init.d/sshfs , which mounts and unmounts sshfs from my server. I am having trouble getting it to run at the right place in the shutdown sequence. It used to work, but recently stopped working for no apparent reason. I have a symlink /etc/rc0.d/K01sshfs -> ../init