scripts/restart-all
krempp f1d3de9de7 Initial revision
darcs-hash:20000521125243-92525-6092ab1d3efe6df9898549afb0aa3c7d43983e8b.gz
2000-05-21 14:52:43 +02:00

12 lines
217 B
Bash
Executable file

#!/bin/zsh -p
# suid !!
id
echo "restarting the named (DNS) :"
kill -HUP `cat /var/run/named.pid`
echo "restarting the DHCP : "
#kill -TERM `cat /var/run/dhcpd.pid` || true
#/usr/sbin/dhcpd
/etc/init.d/dhcp reload