Update Zapret-Manager.sh
This commit is contained in:
1 parent
409e97294f
commit
dfc7ed56fe
1 file changed
+12
-2
+12
-2
@@ -1178,10 +1178,20 @@ remove_TGWS() {
|
|||||||
|
|
||||||
$DELETE tgws >/dev/null 2>&1
|
$DELETE tgws >/dev/null 2>&1
|
||||||
|
|
||||||
killall tgws 2>/dev/null; killall stgws 2>/dev/null
|
/usr/sbin/stgws apply --spec /dev/null --state-dir /var/lib/stgws >/dev/null 2>&1
|
||||||
rm -rf /etc/*tgws* /var/lib/*tgws* /var/lock/*tgws*.lock /etc/rc.d/*tgws* /etc/init.d/*tgws* /usr/sbin/*tgws*
|
/usr/sbin/tgws apply --spec /dev/null --state-dir /var/lib/tgws >/dev/null 2>&1
|
||||||
|
killall tgws >/dev/null 2>&1
|
||||||
|
killall stgws >/dev/null 2>&1
|
||||||
nft delete table inet stgws >/dev/null 2>&1
|
nft delete table inet stgws >/dev/null 2>&1
|
||||||
nft delete table inet tgws >/dev/null 2>&1
|
nft delete table inet tgws >/dev/null 2>&1
|
||||||
|
rm -rf /etc/*tgws*
|
||||||
|
rm -rf /var/lib/*tgws*
|
||||||
|
rm -rf /var/lock/*tgws*
|
||||||
|
rm -rf /etc/rc.d/*tgws*
|
||||||
|
rm -rf /etc/init.d/*tgws*
|
||||||
|
rm -rf /usr/sbin/*tgws*
|
||||||
|
rm -rf /usr/bin/*tgws*
|
||||||
|
rm -rf /etc/config/*tgws*
|
||||||
|
|
||||||
echo -e "sTGWS ${GREEN}удалён!${NC}\n"
|
echo -e "sTGWS ${GREEN}удалён!${NC}\n"
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
Reference in new issue
Block a user