Browse Source

Added renew ip script

Toby Chui 3 năm trước cách đây
mục cha
commit
30461b79dd
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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