[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 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2fltxc7awff....@ulrik.uio.no