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

Re: start-stop-daemon grammar???



Susan G. Kleinmann wrote:
> Can anyone tell me why this 'works' (i.e., starts the routing daemon):
> echo "Starting routing daemon" ; ${NET}/routed -s
> 
> and this doesn't:
> echo "Starting routing daemon" ; start-stop-daemon --start 
>      --quiet --exec ${NET}/routed -s

Oops, I forgot to add -- between "routed" and "-s". The correct entry
should look like this:

echo "Starting routing daemon" ; start-stop-daemon --start 
      --quiet --exec ${NET}/routed -- -s


I'll fix that for the next netstd release.


Thanks,

Peter

-- 
 Peter Tobias                                EMail:
 Fachhochschule Ostfriesland                 tobias@et-inf.fho-emden.de
 Fachbereich Elektrotechnik und Informatik   tobias@perseus.fho-emden.de
 Constantiaplatz 4, 26723 Emden, Germany


Reply to: