summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-01-08 09:07:05 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-01-08 09:31:15 -0600
commit7719cd7c0ac6d3f316ed8595becf29ef418d9af9 (patch)
tree18b10392664c6507df4552001333360660d057a4
parentc2d7f40b2e0837f5544e6e2bfc22dc12e994ed16 (diff)
Remove the hotplug functionality from the network script
Hotplug hasn't been supported in Arch for ages Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xnetwork13
1 files changed, 0 insertions, 13 deletions
diff --git a/network b/network
index 4b02a4c..d0c28eb 100755
--- a/network
+++ b/network
@@ -12,19 +12,6 @@
# dhcpcd settings
[ -f /etc/conf.d/dhcpcd ] && . /etc/conf.d/dhcpcd
-# Special wrapper for hotplug ifup calls
-# (make sure hotplug doesn't bring up disabled interfaces)
-hotplug_ifup()
-{
- [ "$1" != "" ] || return 1
- for ifline in ${INTERFACES[@]}; do
- # if the interface is disabled then this will be skipped
- if [ "$ifline" = "$1" ]; then
- ifup $ifline
- fi
- done
-}
-
ifup()
{
if [ "$1" = "" ]; then