12 lines
217 B
Bash
Executable file
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
|