a guest Apr 16th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # /etc/rc.d/enp10s0: start/stop network
- case $1 in
- # ethernet
- /sbin/ip addr add 172.16.0.1/12 dev enp10s0 broadcast +
- /sbin/ip link set enp10s0 up
- /sbin/ip link set enp10s0 down
- /sbin/ip addr flush dev enp10s0
- $0 stop
- $0 start
- echo "usage: $0 [start|stop|restart]"
- # End of file
RAW Paste Data