From 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Feb 2013 01:12:52 -0800 Subject: Sun Feb 10 01:12:35 PST 2013 --- extra/ifplugd/ifdown.01-route.sh | 3 --- extra/ifplugd/ifplugd.action | 30 ------------------------------ extra/ifplugd/ifup.01-route.sh | 5 ----- extra/ifplugd/ifup.02-ntpdate.sh | 2 -- 4 files changed, 40 deletions(-) delete mode 100755 extra/ifplugd/ifdown.01-route.sh delete mode 100644 extra/ifplugd/ifplugd.action delete mode 100755 extra/ifplugd/ifup.01-route.sh delete mode 100755 extra/ifplugd/ifup.02-ntpdate.sh (limited to 'extra/ifplugd') 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 -- cgit v1.2.3-54-g00ecf