Changes in repo

This commit is contained in:
CodeRoK7
2025-02-27 04:21:33 +00:00
parent 442b846628
commit 7e9285c58d
9 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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