aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-12-12 21:57:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-12-12 21:57:17 +0100
commita0fb61671565f2de6885f5069f6d30a6325cfc8a (patch)
tree665665f9f7b826b8e026caa05201b5182d62e391
parentdee4495c0c3f80e8e58c219fc541f1c738009d5d (diff)
remove extra dollar sign
-rw-r--r--accesslist-duplicates.capsman4
-rw-r--r--accesslist-duplicates.local4
-rw-r--r--accesslist-duplicates.template4
-rw-r--r--daily-psk2
-rw-r--r--global-functions4
5 files changed, 9 insertions, 9 deletions
diff --git a/accesslist-duplicates.capsman b/accesslist-duplicates.capsman
index 64bae58..2892344 100644
--- a/accesslist-duplicates.capsman
+++ b/accesslist-duplicates.capsman
@@ -21,7 +21,7 @@
}
:if ($skip = 0) do={
/ caps-man access-list print where mac-address=$mac;
- :set $shown ( $shown , $mac );
+ :set shown ( $shown , $mac );
:put "\nEnter to skip, numeric id to remove!";
:local remove [ $Read ];
@@ -32,5 +32,5 @@
}
}
}
- :set $seen ( $seen , $mac );
+ :set seen ( $seen , $mac );
}
diff --git a/accesslist-duplicates.local b/accesslist-duplicates.local
index bd37f30..fd5bcc4 100644
--- a/accesslist-duplicates.local
+++ b/accesslist-duplicates.local
@@ -21,7 +21,7 @@
}
:if ($skip = 0) do={
/ interface wireless access-list print where mac-address=$mac;
- :set $shown ( $shown , $mac );
+ :set shown ( $shown , $mac );
:put "\nEnter to skip, numeric id to remove!";
:local remove [ $Read ];
@@ -32,5 +32,5 @@
}
}
}
- :set $seen ( $seen , $mac );
+ :set seen ( $seen , $mac );
}
diff --git a/accesslist-duplicates.template b/accesslist-duplicates.template
index 82712a0..b82e621 100644
--- a/accesslist-duplicates.template
+++ b/accesslist-duplicates.template
@@ -22,7 +22,7 @@
}
:if ($skip = 0) do={
/ %PATH% access-list print where mac-address=$mac;
- :set $shown ( $shown , $mac );
+ :set shown ( $shown , $mac );
:put "\nEnter to skip, numeric id to remove!";
:local remove [ $Read ];
@@ -33,5 +33,5 @@
}
}
}
- :set $seen ( $seen , $mac );
+ :set seen ( $seen , $mac );
}
diff --git a/daily-psk b/daily-psk
index ca1702e..a3d5625 100644
--- a/daily-psk
+++ b/daily-psk
@@ -76,7 +76,7 @@
}
:if ($skip = 0) do={
- :set $seen ( $seen, $ssid );
+ :set seen ( $seen, $ssid );
:local host "www.eworm.de"
:local srcpath ("/cgi-bin/cqrlogo-wifi.cgi" . \
diff --git a/global-functions b/global-functions
index ff689d8..b3a0d33 100644
--- a/global-functions
+++ b/global-functions
@@ -23,9 +23,9 @@
:local replace [ :find $chars $char ];
:if ([ :len $replace ] > 0) do={
- :set $char ($subs->$replace);
+ :set char ($subs->$replace);
}
- :set $return ($return . $char);
+ :set return ($return . $char);
}
}