mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-04 23:58:52 +03:00
fix: move network restart run
This commit is contained in:
@@ -80,4 +80,7 @@ echo "Installed podkop..."
|
||||
opkg install $DOWNLOAD_DIR/podkop*.ipk
|
||||
opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
||||
|
||||
rm -f $DOWNLOAD_DIR/podkop*.ipk $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
||||
rm -f $DOWNLOAD_DIR/podkop*.ipk $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
||||
|
||||
printf "\033[32;1mRestart network\033[0m\n"
|
||||
service network restart
|
||||
|
||||
@@ -105,8 +105,6 @@ wg_awg_setup() {
|
||||
uci set firewall.@forwarding[-1].family='ipv4'
|
||||
uci commit firewall
|
||||
fi
|
||||
|
||||
service network restart
|
||||
}
|
||||
|
||||
wg_awg_setup "$1"
|
||||
|
||||
Reference in New Issue
Block a user