xcat-core/xCAT-nbroot/overlay/bin/rebootnode
2010-06-22 18:15:42 +00:00

7 lines
119 B
Plaintext
Executable File

for udhcpc in `ps axf|grep -i udhcpc|grep -v grep|awk '{print $1}'`; do
kill -USR2 $udhcpc
done
sleep 5
reboot -f