Browse Source

install_easy: generic linux easy setup

pull/81/head
bol-van 3 years ago
parent
commit
294140de97
  1. 13
      uninstall_easy.sh

13
uninstall_easy.sh

@ -62,7 +62,7 @@ check_system()
else else
echo system is not either systemd, openrc or openwrt based echo system is not either systemd, openrc or openwrt based
echo check readme.txt for manual setup info. echo check readme.txt for manual setup info.
exitp 5 SYSTEM=linux
fi fi
elif [ "$UNAME" = "Darwin" ]; then elif [ "$UNAME" = "Darwin" ]; then
SYSTEM=macos SYSTEM=macos
@ -163,6 +163,14 @@ remove_openrc()
crontab_del crontab_del
} }
remove_linux()
{
crontab_del
echo
echo '!!! WARNING. YOUR UNINSTALL IS INCOMPLETE !!!'
echo 'you must manually remove zapret auto start from your system'
}
openwrt_fw_section_find() openwrt_fw_section_find()
@ -275,6 +283,9 @@ case $SYSTEM in
openrc) openrc)
remove_openrc remove_openrc
;; ;;
linux)
remove_linux
;;
openwrt) openwrt)
remove_openwrt remove_openwrt
;; ;;

Loading…
Cancel
Save