Atualizar gerente.sh
This commit is contained in:
16
gerente.sh
16
gerente.sh
@@ -1,16 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Router, ok!"
|
echo "Atualizando!!!"
|
||||||
|
|
||||||
ip link set up dev enp0s3
|
wget https://git.tmferreira.tec.br/tiago.ferreira/GRC/src/branch/main/Gerente/interfaces -O /etc/network/interfaces --no-check-certificate --no-cache
|
||||||
|
|
||||||
ip address flush enp0s3
|
|
||||||
ip address add 192.168.200.3/24 dev enp0s3
|
|
||||||
|
|
||||||
ip route add default via 192.168.200.1
|
|
||||||
|
|
||||||
apt clean
|
|
||||||
|
|
||||||
history -c
|
|
||||||
history -w
|
|
||||||
|
|
||||||
poweroff
|
|
||||||
Reference in New Issue
Block a user