Re: Two line init.d scripts? Sure, that will work!
[Sergey B Kirpichev]
> Probably init-d-script could pass some cli-specified options to sh
> with set builtin. To allow something like this:
>
> /etc/init.d/script -x start
> or
> /etc/init.d/script start -x
I ended up with this instead: 'DEBUG=true /etc/init.d/script start'
The new /lib/init/init-d/script is in the sysvinit-utils package in
experimental now. Please check it out and see if it will work for your
init.d script. :)
--
Happy hacking
Petter Reinholdtsen
Reply to: