From 586bab227912890e7eb3a4f208e3be62ea448111 Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Fri, 5 Jan 2024 21:53:07 -0500 Subject: [PATCH] Update beta.sh Fix symblink to wrog place lol --- beta.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beta.sh b/beta.sh index c6342ca..b069dad 100644 --- a/beta.sh +++ b/beta.sh @@ -117,7 +117,7 @@ install_update_simple_firewall() { chmod +x "$SIMPLE_FIREWALL_SCRIPT" wget -O "$SIMPLE_FIREWALL_SYSTEMD_DIR/simplefirewall.service" https://raw.githubusercontent.com/iamromulan/quectel-rgmii-toolkit/main/simplefirewall/systemd/simplefirewall.service cp -f "$SIMPLE_FIREWALL_SYSTEMD_DIR/simplefirewall.service" "$SIMPLE_FIREWALL_SERVICE" - ln -sf "$SIMPLE_FIREWALL_SERVICE" "/etc/systemd/system/multi-user.target.wants/" + ln -sf "$SIMPLE_FIREWALL_SERVICE" "/lib/systemd/system/multi-user.target.wants/" systemctl daemon-reload systemctl restart simplefirewall mount -o remount,ro / @@ -129,6 +129,7 @@ uninstall_simple_firewall() { echo "Uninstalling Simple Firewall..." mount -o remount,rw / systemctl stop simplefirewall + rm -f "/lib/systemd/system/multi-user.target.wants/simplefirewall.service" rm -f "$SIMPLE_FIREWALL_SERVICE" rm -rf "$SIMPLE_FIREWALL_DIR" systemctl daemon-reload