diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2016-09-22 03:03:35 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-22 11:34:07 -0400 |
commit | 7351dfc00d7a56b8982582ba8e10ffa8940932cb (patch) | |
tree | a579950046145dd3f5082425a36a65e287b4566c | |
parent | fea3e1d19ee974bc828a671405707258daa4d32b (diff) | |
download | meta-selinux-morty.tar.gz |
dhcp: sync init-server with oe-coremorty
oe-core commit:
a162416119ec9deee9fef53455d1281abe573681
dhcpd: create dhcpd user for dhcp dameon
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-connectivity/dhcp/files/init-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/dhcp/files/init-server b/recipes-connectivity/dhcp/files/init-server index 1d03d7e..a0e901a 100644 --- a/recipes-connectivity/dhcp/files/init-server +++ b/recipes-connectivity/dhcp/files/init-server | |||
@@ -28,7 +28,7 @@ case "$1" in | |||
28 | test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/ | 28 | test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/ |
29 | test -f /var/lib/dhcp/dhcpd.leases || touch /var/lib/dhcp/dhcpd.leases | 29 | test -f /var/lib/dhcp/dhcpd.leases || touch /var/lib/dhcp/dhcpd.leases |
30 | restorecon_dhcpd_leases | 30 | restorecon_dhcpd_leases |
31 | start-stop-daemon -S -x /usr/sbin/dhcpd -- -q $INTERFACES | 31 | start-stop-daemon -S -x /usr/sbin/dhcpd -- -q $INTERFACES -user dhcp -group dhcp |
32 | echo "." | 32 | echo "." |
33 | ;; | 33 | ;; |
34 | stop) | 34 | stop) |