aboutsummaryrefslogtreecommitdiffstats
path: root/lease-script
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-10-09 13:08:28 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-10-09 14:15:34 +0200
commit7e9252064ea65c94ed5c8b9e497eb2cc0897f6f7 (patch)
tree8ff535d3cd5199f410a5d2bb5faa8f47cdc7419e /lease-script
parent0896d81bb037f934ff6460291a41872a2f8903a3 (diff)
lease-script: line breaks for array
Diffstat (limited to 'lease-script')
-rw-r--r--lease-script10
1 files changed, 7 insertions, 3 deletions
diff --git a/lease-script b/lease-script
index bf24529..ac30f5e 100644
--- a/lease-script
+++ b/lease-script
@@ -5,9 +5,13 @@
# run scripts on DHCP lease
# ( / ip dhcp-server set lease-script=lease-script [ find ] )
-:local scripts { "dhcp-to-dns";
- "collect-wireless-mac.local"; "dhcp-lease-comment.local";
- "collect-wireless-mac.capsman"; "dhcp-lease-comment.capsman" };
+:local scripts {
+ "dhcp-to-dns";
+ "collect-wireless-mac.local";
+ "dhcp-lease-comment.local";
+ "collect-wireless-mac.capsman";
+ "dhcp-lease-comment.capsman"
+}
# delay a second to give time to update the lease table
:delay 1s;