Explorar el Código

Added renew ip script

Toby Chui hace 3 años
padre
commit
30461b79dd
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      renew-ip.sh

+ 6 - 0
renew-ip.sh

@@ -0,0 +1,6 @@
+#/bin/bash
+echo "Releasing DHCP ip addr"
+sudo dhclient -v -r enp0s3
+echo "Requesting new ip addr"
+sudo dhclient -v
+ip a