diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-09-09 14:27:37 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-09-09 14:27:37 -0700 |
commit | fa3904beb69e727b625295d130a5761ce2952316 (patch) | |
tree | 3bb0e499e20d86239e56d4cc731035a37ab1c09e | |
parent | a6df3e3bc02a91711484d74d27cfa19bc868b379 (diff) | |
parent | ea5439cd08cd0f79dce8a7a885f06b5ec211eebb (diff) | |
download | vyatta-cfg-fa3904beb69e727b625295d130a5761ce2952316.tar.gz vyatta-cfg-fa3904beb69e727b625295d130a5761ce2952316.zip |
Merge branch 'kenwood' of 192.168.100.1:git/vyatta-cfg into kenwood
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/interfaces/ethernet/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/description/node.def index ccec5e1..7f64c78 100644 --- a/templates/interfaces/ethernet/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/description/node.def @@ -1,4 +1,4 @@ type: txt help: Set description for this interface -update: sudo ip link set $VAR(../@) alias "$VAR(@)" +update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../@)/ifalias" delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def index fda2e3c..d85db27 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def @@ -1,4 +1,4 @@ type: txt help: Set description for this interface -update: sudo ip link set dev "$VAR(../../@).$VAR(../@)" alias "$VAR(@)" +update: sudo sh -c "echo \"VAR(@)\" >/sys/class/net/$VAR(../../@).$VAR(../@)/ifalias" delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../../@).$VAR(../@)/ifalias" diff --git a/templates/interfaces/loopback/node.tag/description/node.def b/templates/interfaces/loopback/node.tag/description/node.def index ccec5e1..7f64c78 100644 --- a/templates/interfaces/loopback/node.tag/description/node.def +++ b/templates/interfaces/loopback/node.tag/description/node.def @@ -1,4 +1,4 @@ type: txt help: Set description for this interface -update: sudo ip link set $VAR(../@) alias "$VAR(@)" +update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../@)/ifalias" delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias" |