2007-05-08 klockan 17:44 skrev Michael Biebl: > If dhcdbd was already running, the return code will be != 0, so > /etc/init.d/dbus:dependend_services() will return != 0, as starting dhcdbd was > the last action.
Other init scripts, e.g. apache do not work like that. Shell session transcript (whitespace added): $ # Try to start Apache twice: $ sudo /etc/init.d/apache start && echo "success" || echo "fail" Starting apache 1.3 web server.... success $ sudo /etc/init.d/apache start && echo "success" || echo "fail" Starting apache 1.3 web server.... success $ # Try to stop Apache twice: $ sudo /etc/init.d/apache stop && echo "success" || echo "fail" Stopping apache 1.3 web server.... success $ sudo /etc/init.d/apache stop && echo "success" || echo "fail" Stopping apache 1.3 web server...No process in pidfile `/var/run/apache.pid' found running; none killed. . success See? mvrgr, Wouter -- :wq mail [EMAIL PROTECTED] web http://uwstopia.nl tell myself that i'm not ready yet :: i want to live -- heather nova
signature.asc
Description: Digital signature