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

Bug#203305: /etc/init.d/distributed-net fails to stop dnetc if run from non-interactive shell

Colin Watson wrote:
I think /sbin should go on the end, to allow a sysadmin to call that
script from a shell with PATH=/usr/local/sbin:... and have tools in
/usr/local/sbin override the system ones. ssh's init script does this:

  export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"

That sounds very reasonable. I'm only ashamed I didn't think of that myself.

Matthew Exley                                henley@guided-naafi.org
Marriages are made in Heaven. So are Thunder and Lightning

Reply to: