diff options
author | James Rayner <james@archlinux.org> | 2009-11-18 03:45:35 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-11-18 03:45:35 +0100 |
commit | 3cbb28408f4537fbc7beaa7148458f0db3f02baf (patch) | |
tree | fb3a3ee659f0bb6c828f162180a1a36f905b570d /contrib/ifplugd.action | |
parent | edf633af40487375d5c663ac217d42924214e130 (diff) | |
download | netctl-3cbb28408f4537fbc7beaa7148458f0db3f02baf.tar.gz netctl-3cbb28408f4537fbc7beaa7148458f0db3f02baf.tar.xz |
FS#13418,FS#12505 - add zsh/bash completion
Diffstat (limited to 'contrib/ifplugd.action')
-rwxr-xr-x | contrib/ifplugd.action | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/contrib/ifplugd.action b/contrib/ifplugd.action deleted file mode 100755 index 720b576..0000000 --- a/contrib/ifplugd.action +++ /dev/null @@ -1,26 +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 - -# vim: ft=sh ts=4 et sw=4: |