From a0d4bfceb5bc4172bea118a5941d5d3d1bfc0664 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 5 Aug 2008 10:42:50 +0000 Subject: Remove incompatible interface alias script --- .../dist/etc/hotplug.d/iface/20-aliases | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100755 contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases (limited to 'contrib/package/luci-addons/dist') diff --git a/contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases b/contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases deleted file mode 100755 index b9986e3aaa..0000000000 --- a/contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases +++ /dev/null @@ -1,24 +0,0 @@ -add_aliases() { - local config="$1" - - config_get base "$INTERFACE" ifname - config_get iface "$config" ifname - config_get ipaddr "$config" ipaddr - config_get auto "$config" auto - - [ "${iface%%:*}" == "$base" -a "$iface" != "$base" ] && { - case "$auto" in - 1|on|enabled) setup_interface "$iface" "$config";; - *) return 1;; - esac - } -} - - -case "$ACTION" in - ifup) - include /lib/network - scan_interfaces - config_foreach "add_aliases" interface - ;; -esac -- cgit v1.2.3