diff options
author | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
commit | 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch) | |
tree | 016bfa1969323404c37dbef29cfc7242a5a8e9f3 /extra/ifplugd | |
parent | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff) |
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'extra/ifplugd')
-rwxr-xr-x | extra/ifplugd/ifdown.01-route.sh | 3 | ||||
-rw-r--r-- | extra/ifplugd/ifplugd.action | 30 | ||||
-rwxr-xr-x | extra/ifplugd/ifup.01-route.sh | 5 | ||||
-rwxr-xr-x | extra/ifplugd/ifup.02-ntpdate.sh | 2 |
4 files changed, 0 insertions, 40 deletions
diff --git a/extra/ifplugd/ifdown.01-route.sh b/extra/ifplugd/ifdown.01-route.sh deleted file mode 100755 index cfa0e0069..000000000 --- a/extra/ifplugd/ifdown.01-route.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# same as up... -/sbin/route del $1
\ No newline at end of file diff --git a/extra/ifplugd/ifplugd.action b/extra/ifplugd/ifplugd.action deleted file mode 100644 index 07895bcad..000000000 --- a/extra/ifplugd/ifplugd.action +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# -# ifplugd.action script for Arch Linux -# - -. /etc/rc.conf -. /etc/rc.d/functions - -plugscript() { # arguments are ifup|ifdown, interface_name - for script in /etc/ifplugd/$1.d/*.sh; do - [[ -x $script ]] && "$script" $2 - done - return 0 -} - -case $2 in - up) - /etc/rc.d/network ifup "$1" - plugscript ifup "$1" - ;; - down) - plugscript ifdown "$1" - /etc/rc.d/network ifdown $1 - ;; - *) - echo "Wrong arguments" >&2 - ;; -esac - -exit 1 diff --git a/extra/ifplugd/ifup.01-route.sh b/extra/ifplugd/ifup.01-route.sh deleted file mode 100755 index 6be07208d..000000000 --- a/extra/ifplugd/ifup.01-route.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# ugly way to load up gateway, since -# al's net configuration doesn't associate -# gateways with specific interfaces. -/sbin/route add $gateway diff --git a/extra/ifplugd/ifup.02-ntpdate.sh b/extra/ifplugd/ifup.02-ntpdate.sh deleted file mode 100755 index 4e53daff9..000000000 --- a/extra/ifplugd/ifup.02-ntpdate.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -ntpdate ru.pool.ntp.org | logger |