summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-07-31 01:29:01 +0200
committerDaniil Baturin <daniil@baturin.org>2014-07-31 01:29:01 +0200
commit273e38ec0956bc33f04d77b41221753a01fc2f9e (patch)
tree815da59bd73a9dc5aed6e5b8ff1efd9128d59e3f
parent734822e312b928fbe938e0c2edf2d6e805855404 (diff)
downloadvyatta-cfg-system-273e38ec0956bc33f04d77b41221753a01fc2f9e.tar.gz
vyatta-cfg-system-273e38ec0956bc33f04d77b41221753a01fc2f9e.zip
Rename dummy interfaces to dumX to avoid confusion with the default
interface created by the driver.
-rw-r--r--sysconf/netdevice2
-rw-r--r--templates/interfaces/dummy/node.def6
2 files changed, 4 insertions, 4 deletions
diff --git a/sysconf/netdevice b/sysconf/netdevice
index 46d93ca7..e1447faa 100644
--- a/sysconf/netdevice
+++ b/sysconf/netdevice
@@ -11,5 +11,5 @@ vti vti
wlm wirelessmodem
wlan wireless
pppoe pppoe
-dummy dummy
+dum dummy
l2tpeth l2tpv3
diff --git a/templates/interfaces/dummy/node.def b/templates/interfaces/dummy/node.def
index 9906bc74..71625fd8 100644
--- a/templates/interfaces/dummy/node.def
+++ b/templates/interfaces/dummy/node.def
@@ -2,9 +2,9 @@ tag:
priority: 300
type: txt
help: Dummy interface name
-syntax:expression: pattern $VAR(@) "^dummy[0-9]+$" \
- ; "name must be (dummy0-dummy999)"
-val_help: <dummyN>; Dummy interface name
+syntax:expression: pattern $VAR(@) "^dum[0-9]+$" \
+ ; "name must be (dum0-dum999)"
+val_help: <dumN>; Dummy interface name
begin: [ -d /sys/module/dummy ] || sudo modprobe dummy