diff options
author | Xufeng Zhang <xufeng.zhang@windriver.com> | 2014-03-11 13:54:10 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2014-03-14 08:51:45 -0400 |
commit | ed0a2852ecc75d5dd87ab556f698ea2816b18bd5 (patch) | |
tree | bc51b5bcf07133253d5d31905a9fe15d1fd6e225 /meta-networking/recipes-support/ntp/ntp/sntp.service | |
parent | 7601d0a551fba612d2497e4ecae00e1af46d9c13 (diff) | |
download | meta-openembedded-ed0a2852ecc75d5dd87ab556f698ea2816b18bd5.tar.gz |
ntp: Moving relevant files from /usr/bin to /usr/sbin
"--with-binsubdir" controls whether we use bin_PROGRAMS or
sbin_PROGRAMS while installing executable files in ntp
Makefile, in order to install all the relevant files in
/usr/sbin instead of /usr/bin, we can pass "--with-binsubdir=sbin"
in ntp configure cmdline.
Accordingly, updating the path for the files which are
contained in rpm packages.
Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-support/ntp/ntp/sntp.service')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp/sntp.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp/sntp.service b/meta-networking/recipes-support/ntp/ntp/sntp.service index 0f09e4347..4898b8a70 100644 --- a/meta-networking/recipes-support/ntp/ntp/sntp.service +++ b/meta-networking/recipes-support/ntp/ntp/sntp.service | |||
@@ -5,7 +5,7 @@ After=network.target | |||
5 | [Service] | 5 | [Service] |
6 | Type=oneshot | 6 | Type=oneshot |
7 | EnvironmentFile=-/etc/default/sntp | 7 | EnvironmentFile=-/etc/default/sntp |
8 | ExecStart=/usr/bin/sntp -s $NTPSERVER | 8 | ExecStart=/usr/sbin/sntp -s $NTPSERVER |
9 | 9 | ||
10 | [Install] | 10 | [Install] |
11 | WantedBy=multi-user.target | 11 | WantedBy=multi-user.target |