[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with debconf and start-stop-daemon



Steve Greenland <steveg@moregruel.net> wrote:

> Interesting. Would the following be a legitimate practice in the initscript?

>        start)
>                rm -f /usr/sbin/foo.running
>                ln /usr/sbin/foo /usr/sbin/foo.running
>                start-stop-daemon --start --exec /usr/sbin/foo.running
>        ;;
>        stop)
>                start-stop-daemon --stop --exec /usr/sbin/foo.running
>        rm /usr/sbin/foo.running
>        ;;

Unfortunately /usr could be read only.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: