optimize restart script

This commit is contained in:
Tsanie Lily 2023-09-12 10:25:52 +08:00
parent bc8e4c5cbc
commit cada5f75cb

View File

@ -1,7 +1,8 @@
@echo off
%USERPROFILE%\AppData\Roaming\Tsanie\Path\domain-list-community.exe --outputname=c.dat
rem --exportlists=category-ads-all,tld-cn,cn,tld-!cn,geolocation-!cn,apple,icloud
copy c.dat %USERPROFILE%\AppData\Roaming\Tsanie\Programs\v2rayN\bin\
scp -P 22034 c.dat root@router.tsanie.org:/usr/share/xray/c.dat
echo "/etc/init.d/xray_fw4 restart" | ssh -p 22034 root@router.tsanie.org
echo "/root/restart" | ssh -p 22034 root@router.tsanie.org
pause