Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2015
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ -e /etc/dhcp3/dhclient-exit-hooks.d/rfc3442-classless-routes ]; then
  4.   exit 0;
  5. fi
  6. curl http://sources.debian.net/data/main/i/isc-dhcp/4.2.2.dfsg.1-5+deb70u6/debian/rfc3442-classless-routes.linux -o /etc/dhcp3/dhclient-exit-hooks.d/rfc3442-classless-routes
  7.  
  8. /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --dhcp renew --dev "br0"
  9.  
  10. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement