mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 14:40:58 +00:00
Fixed uninstall.sh
This commit is contained in:
@@ -376,7 +376,7 @@ AppStop
|
|||||||
PrintBold "Updating packages list..."
|
PrintBold "Updating packages list..."
|
||||||
UpdatePackagesList
|
UpdatePackagesList
|
||||||
PrintBold "Saving current configuration..."
|
PrintBold "Saving current configuration..."
|
||||||
BackupCurrentConfig
|
#BackupCurrentConfig
|
||||||
PrintBold "Installing basic configuration..."
|
PrintBold "Installing basic configuration..."
|
||||||
InstallBaseConfig
|
InstallBaseConfig
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -60,7 +60,7 @@ define Package/$(PKG_NAME)/preinst
|
|||||||
|
|
||||||
RUAB_CFG_DIR="/etc/ruantiblock"
|
RUAB_CFG_DIR="/etc/ruantiblock"
|
||||||
EXEC_DIR="/usr/bin"
|
EXEC_DIR="/usr/bin"
|
||||||
BACKUP_DIR="$${RUAB_CFG_DIR}/autoinstall.bak"
|
BACKUP_DIR="$${RUAB_CFG_DIR}/autoinstall.bak.`date +%s`"
|
||||||
FILE_CONFIG="$${RUAB_CFG_DIR}/ruantiblock.conf"
|
FILE_CONFIG="$${RUAB_CFG_DIR}/ruantiblock.conf"
|
||||||
FILE_FQDN_FILTER="$${RUAB_CFG_DIR}/ruab_fqdn_filter"
|
FILE_FQDN_FILTER="$${RUAB_CFG_DIR}/ruab_fqdn_filter"
|
||||||
FILE_IP_FILTER="$${RUAB_CFG_DIR}/ruab_ip_filter"
|
FILE_IP_FILTER="$${RUAB_CFG_DIR}/ruab_ip_filter"
|
||||||
|
|||||||
Reference in New Issue
Block a user