Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####Location
- ####/etc/network/if-up.d/video
- #### TEST WITH run-parts --test /etc/network/if-up.d
- #!/bin/bash x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- # Check for specific interface if desired x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [ "$IFACE" != "eth2" ] || exit 0 x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- #DHCP x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- udhcpc -i eth2 -V minerva2500w x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- # Adding additional routes on connection x~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /sbin/route add -net 224.0.0.0/9 dev eth2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement