summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions/restartdhcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/phpshellsessions/restartdhcpd')
-rw-r--r--src/etc/phpshellsessions/restartdhcpd4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/phpshellsessions/restartdhcpd b/src/etc/phpshellsessions/restartdhcpd
new file mode 100644
index 0000000..e24c842
--- /dev/null
+++ b/src/etc/phpshellsessions/restartdhcpd
@@ -0,0 +1,4 @@
+! echo "Killing dhcp server..."
+! killall dhcpd
+! echo "Restarting dhcp server..."
+services_dhcpd_configure();
OpenPOWER on IntegriCloud