From fe8c1092475cefa30725050746082686d4924384 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 13 Oct 2024 02:44:09 -0700 Subject: Fix typo --- home/root/arrakis.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'home') diff --git a/home/root/arrakis.nix b/home/root/arrakis.nix index 6ebaae0..c78c958 100644 --- a/home/root/arrakis.nix +++ b/home/root/arrakis.nix @@ -43,26 +43,26 @@ } - if [[ -z "\${1}" || "\${1}" == "status" ]]; then + if [[ -z "''${1}" || "''${1}" == "status" ]]; then status_vpn - elif [[ "\${1}" == "restart" ]]; then + elif [[ "''${1}" == "restart" ]]; then stop_vpn sleep 2 start_vpn #systemctl start qbittorrent-nox@nipsy.service prowlarr.service - elif [[ "\${1}" == "restart_firewall" ]]; then + elif [[ "''${1}" == "restart_firewall" ]]; then ip netns exec vpn nft -f /etc/nftables-vpn.conf - elif [[ "\${1}" == "start" ]]; then + elif [[ "''${1}" == "start" ]]; then start_vpn - elif [[ "\${1}" == "stop" ]]; then + elif [[ "''${1}" == "stop" ]]; then stop_vpn -- cgit v1.2.3