mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 03:26:43 +03:00
Changes in repo
This commit is contained in:
@@ -263,7 +263,7 @@ if [ -f "/etc/init.d/podkop" ]; then
|
|||||||
read is_reconfig_podkop
|
read is_reconfig_podkop
|
||||||
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
|
||||||
cp -f "$path_podkop_config" "$path_podkop_config_backup"
|
cp -f "$path_podkop_config" "$path_podkop_config_backup"
|
||||||
wget -O "$path_podkop_config" "$URL/podkop"
|
wget -O "$path_podkop_config" "$URL/config_files/podkop"
|
||||||
echo "Backup of your config in path '$path_podkop_config_backup'"
|
echo "Backup of your config in path '$path_podkop_config_backup'"
|
||||||
echo "Podkop reconfigured..."
|
echo "Podkop reconfigured..."
|
||||||
fi
|
fi
|
||||||
@@ -281,13 +281,13 @@ else
|
|||||||
for file in $podkop_files
|
for file in $podkop_files
|
||||||
do
|
do
|
||||||
echo "Download $file..."
|
echo "Download $file..."
|
||||||
wget -q -O "$DOWNLOAD_DIR/$file" "$URL/$file"
|
wget -q -O "$DOWNLOAD_DIR/$file" "$URL/podkop_packets/$file"
|
||||||
done
|
done
|
||||||
opkg install $DOWNLOAD_DIR/podkop*.ipk
|
opkg install $DOWNLOAD_DIR/podkop*.ipk
|
||||||
opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
||||||
opkg install $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
|
opkg install $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
|
||||||
rm -f $DOWNLOAD_DIR/podkop*.ipk $DOWNLOAD_DIR/luci-app-podkop*.ipk $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
|
rm -f $DOWNLOAD_DIR/podkop*.ipk $DOWNLOAD_DIR/luci-app-podkop*.ipk $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
|
||||||
wget -O "$path_podkop_config" "$URL/podkop"
|
wget -O "$path_podkop_config" "$URL/config_files/podkop"
|
||||||
echo "Podkop installed.."
|
echo "Podkop installed.."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ then
|
|||||||
do
|
do
|
||||||
if [ "$file" != "dhcp" ]
|
if [ "$file" != "dhcp" ]
|
||||||
then
|
then
|
||||||
wget -O "$DIR/$file" "$URL/$file"
|
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user