diff options
author | James Rayner <james@archlinux.org> | 2009-08-10 08:09:16 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-08-10 08:09:16 +0200 |
commit | 9a3078d8cec470b3820c5597d5c8819d642e558d (patch) | |
tree | 7287f79ad908eb8cd6352b19c3e59e6bc57e4c94 /contrib/ifplugd.action | |
parent | 280b25e1171a4609356e888066614a4dc2ecb678 (diff) | |
download | netctl-9a3078d8cec470b3820c5597d5c8819d642e558d.tar.gz netctl-9a3078d8cec470b3820c5597d5c8819d642e558d.tar.xz |
revert pryor patch
Diffstat (limited to 'contrib/ifplugd.action')
-rwxr-xr-x | contrib/ifplugd.action | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/ifplugd.action b/contrib/ifplugd.action deleted file mode 100755 index 4700c46..0000000 --- a/contrib/ifplugd.action +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# /etc/ifplugd/ifplugd.action script for Arch Linux -# can replace the one that comes with extra/ifplugd - -# . /etc/rc.conf -# . /etc/rc.d/functions - -case "$2" in - up) - if [ "${1:0:3}" == eth ]; then - /usr/bin/netcfg "myethernet" # replace with name of your desired profile - fi - ;; - down) - /usr/bin/netcfg iface-down "$1" - /sbin/ifconfig "$1" down # note that we'll return 0 even if the netcfg call failed, e.g. because iface was already down - # hence no "failure" messages to syslog - ;; - *) - echo "Wrong arguments" > /dev/stderr - exit 1 - ;; -esac - |