summaryrefslogtreecommitdiff
path: root/examples/source/init-wlan0/up
diff options
context:
space:
mode:
authorColin Booth <colin@heliocat.net>2017-09-12 10:56:07 -0700
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-13 16:13:17 +0000
commit184f2cd48a46abf0407a775cc7ea42d3483df613 (patch)
tree2939b43091c04544503b2cc9ca905afb78c30cb7 /examples/source/init-wlan0/up
parentbc0746bebb7adcb18ed8e32aebef10ca8f555479 (diff)
downloads6-rc-184f2cd48a46abf0407a775cc7ea42d3483df613.tar.xz
s6-rc examples: Change usage of import to importas.
execline's import is deprecated but the examples in s6-rc have not yet been updated to use importas.
Diffstat (limited to 'examples/source/init-wlan0/up')
-rw-r--r--examples/source/init-wlan0/up2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/source/init-wlan0/up b/examples/source/init-wlan0/up
index 26ed7ca..1324c97 100644
--- a/examples/source/init-wlan0/up
+++ b/examples/source/init-wlan0/up
@@ -1,5 +1,5 @@
foreground { modprobe ath9k blink=1 }
unexport ?
if { iw reg set FR }
-import -i WLAN0_IP4
+importas -i WLAN0_IP4 WLAN0_IP4
ifconfig wlan0 ${WLAN0_IP4} netmask 255.255.255.0