]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Revert [2a977647fe24819f38b64c8ed7257c0bc27c8328] because if the
authorRoy Marples <roy@marples.name>
Thu, 11 Sep 2014 14:30:52 +0000 (14:30 +0000)
committerRoy Marples <roy@marples.name>
Thu, 11 Sep 2014 14:30:52 +0000 (14:30 +0000)
services are touched in anyway by an exit hook their status might not
be entirely accurate.
Fixes some issues with parallel service management systems.

dhcpcd-hooks/50-ntp.conf
dhcpcd-hooks/50-ypbind.in

index de377aa44002392a7efbc83b97f16909b4ca7a7d..551c5befdde20d990869476a53c63ad318cfdf4e 100644 (file)
@@ -17,7 +17,7 @@ if type invoke-rc.d >/dev/null 2>&1; then
 fi
 
 : ${ntp_service:=ntpd}
-: ${ntp_restart_cmd:=service_condcommand $ntp_service restart &}
+: ${ntp_restart_cmd:=service_condcommand $ntp_service restart}
 ntp_conf_dir="$state_dir/ntp.conf"
 
 # If we have installed OpenNTPD but not NTP then prefer it
index a4b5a2da1162e9c34270a896cc99b58caec547a5..1421a169ff47faa79daa1654db1567a2f6e47827 100644 (file)
@@ -1,8 +1,8 @@
 # Sample dhcpcd hook for ypbind
 # This script is only suitable for the BSD versions.
 
-: ${ypbind_restart_cmd:=service_command ypbind restart &}
-: ${ypbind_stop_cmd:=service_condcommand ypbind stop &}
+: ${ypbind_restart_cmd:=service_command ypbind restart}
+: ${ypbind_stop_cmd:=service_condcommand ypbind stop}
 ypbind_dir="$state_dir/ypbind"
 : ${ypdomain_dir:=@YPDOMAIN_DIR@}
 : ${ypdomain_suffix:=@YPDOMAIN_SUFFIX@}