xcat-core/xCAT-nbroot/overlay/bin/rebootnode

6 lines
111 B
Plaintext
Executable File

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