Op 2-jul-2008, om 5:54 heeft Steve Langasek het volgende geschreven:
There's an example of this already in /etc/init.d/samba.
Ah yes, in testing. Using that version of the init script now for my development (seems to work as expected for the version in Etch, too).
Perhaps that check is worth refactoring into a small shell function at thetop of the script, perhaps not.
I moved it to the top of the script. Maybe you prefer it otherwise, let me know, I'll change it.
I only had time to fix this in the samba init script. Will work on winbind later this week (I hope).
diff
Description: Binary data
-- Kind regards, Met vriendelijke groet, Tim Stoop Kumina bv www.kumina.nl kvk nr 14095795