1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-05 07:20:14 +01:00

Update wgd.sh

This commit is contained in:
Donald Cheng Hong Zou 2021-09-02 22:13:00 -04:00
parent 0a4bbc1106
commit 4efcf0e7c8

View File

@ -100,6 +100,8 @@ if [ "$#" != 1 ];
fi fi
elif [ "$1" = "update" ]; then elif [ "$1" = "update" ]; then
update_wgd update_wgd
elif [ "$1" = "install" ]; then
install_wgd
elif [ "$1" = "restart" ]; then elif [ "$1" = "restart" ]; then
if check_wgd_status; then if check_wgd_status; then
stop_wgd stop_wgd