Files
meta-openembedded/meta-networking/recipes-support
Qiang Chen 5f8ef9cfb2 ntpd: make start-stop-daemon command available for ntpd
If ntpd script is being called by a non-root user using sudo,
it will fail as follows:

/etc/init.d/ntpd restart
Stopping ntpd: /etc/init.d/ntpd: line 29: start-stop-daemon:
command not found
done
Starting ntpd: /etc/init.d/ntpd: line 24: start-stop-daemon:
command not found
done

This is because /etc/init.d/ntpd calls start-stop-daemon which
is in /sbin (not in the default path for non-root users)

Explicitly configure the PATH to include /sbin.

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>

Reworked to set PATH instead of hardcode the location of start-stop-daemon

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26 09:28:33 -05:00
..
2013-11-06 15:12:45 -05:00
2013-09-13 12:48:55 -07:00
2013-01-22 13:17:55 +01:00
2013-04-26 19:44:12 +02:00
2013-07-17 15:44:38 -04:00
2013-04-15 16:23:17 +02:00
2013-04-29 14:08:22 -04:00
2013-09-05 08:52:10 -04:00
2013-04-15 16:23:17 +02:00
2013-04-15 16:23:17 +02:00