From 12153f056b2eff62f6496b30f42d56c5394e2c4a Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 31 Oct 2007 14:03:00 -0700 Subject: use "disable" instead of "enable" for ethernet --- templates/interfaces/ethernet/node.tag/disable/node.def | 3 +++ templates/interfaces/ethernet/node.tag/enable/node.def | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 templates/interfaces/ethernet/node.tag/disable/node.def delete mode 100644 templates/interfaces/ethernet/node.tag/enable/node.def (limited to 'templates') diff --git a/templates/interfaces/ethernet/node.tag/disable/node.def b/templates/interfaces/ethernet/node.tag/disable/node.def new file mode 100644 index 0000000..63ff5dd --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/disable/node.def @@ -0,0 +1,3 @@ +help: "enable interface" +update: "sudo ip link set $(../@) up"; "error enabling dev $(../@)" +delete: "sudo ip link set $(../@) down"; "error disabling dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/enable/node.def b/templates/interfaces/ethernet/node.tag/enable/node.def deleted file mode 100644 index 63ff5dd..0000000 --- a/templates/interfaces/ethernet/node.tag/enable/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: "enable interface" -update: "sudo ip link set $(../@) up"; "error enabling dev $(../@)" -delete: "sudo ip link set $(../@) down"; "error disabling dev $(../@)" -- cgit v1.2.3