forked from gadmin/gsb2023
modif script copy distant
This commit is contained in:
parent
ca2f1ca8a1
commit
30fd771045
@ -1,2 +1,5 @@
|
||||
#!/bin/bash
|
||||
#stoper le fw
|
||||
systemctl stop ferm
|
||||
#ouverture du service web pour copie distante
|
||||
cd /root/confwg/ && python3 -m http.server 8000 &
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
#recuperation du fichier de config
|
||||
wget http://r-vp1.gsb.adm:8000/wg0-b.qconf
|
||||
#renomage fichier et mv
|
||||
mv ./wg0-b.conf /etc/wireguard/wg0.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user