aboutsummaryrefslogtreecommitdiffstats
path: root/home/root
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-13 02:41:44 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-13 02:41:44 -0700
commit0529bd8a372a9fd2cff4c38713656ad323a68082 (patch)
tree682321c6027524b678da9f062196b7afcc4a7a76 /home/root
parentef61d69c4da460e509dd5251ddb013baeb42a998 (diff)
downloadnix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar.gz
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar.bz2
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar.lz
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar.xz
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.tar.zst
nix-0529bd8a372a9fd2cff4c38713656ad323a68082.zip
Fix typo
Diffstat (limited to 'home/root')
-rw-r--r--home/root/arrakis.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/root/arrakis.nix b/home/root/arrakis.nix
index bec3448..6ebaae0 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