This commit is contained in:
Esteban Mackay Q 2023-09-26 21:32:10 -05:00
parent 945f297a53
commit 680838ceb4
2 changed files with 3 additions and 1 deletions

2
menu/dvs-nb.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
sed -i '111,203{/^$/!s/^/\/\/ /}' /var/www/dvs/index.php

View File

@ -149,7 +149,7 @@ fi ;;
sudo systemctl stop http.server-dvs.service && sudo systemctl disable http.server-dvs.service ;;
7)
cp /var/www/dvs/index.txt /var/www/dvs/index.php &&
sed -i '111,203{/^$/!s/^/\/\/ /}' /var/www/dvs/index.php
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/dvs-nb.sh)" &&
if sudo systemctl status http.server-dvs.service |grep "service; enabled;" >/dev/null 2>&1
then
sudo systemctl disable http.server-dvs.service