You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
170 B

  1. #!/bin/sh
  2. set -e
  3. pid=$(pidof udhcpc) || true
  4. [ -n "$pid" ] && kill -USR2 $pid
  5. if [ "$(pidof dhclient || true)" ]; then
  6. dhclient -r || true
  7. dhclient -6 -r || true
  8. fi