* [gentoo-commits] proj/udev-gentoo-scripts:master commit in: helpers/, rules.d/
@ 2014-03-05 20:35 Samuli Suominen
0 siblings, 0 replies; only message in thread
From: Samuli Suominen @ 2014-03-05 20:35 UTC (permalink / raw
To: gentoo-commits
commit: ccff867005d745f399fc556ad75b388eddef4ab8
Author: Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 5 20:32:38 2014 +0000
Commit: Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 5 20:32:38 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/udev-gentoo-scripts.git;a=commit;h=ccff8670
These files are now part of netifrc since version 0.2.1, see Gentoo bug 487922
---
helpers/net.sh | 34 ----------------------------------
rules.d/90-network.rules | 8 --------
2 files changed, 42 deletions(-)
diff --git a/helpers/net.sh b/helpers/net.sh
deleted file mode 100644
index af61870..0000000
--- a/helpers/net.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# net.sh: udev external RUN script
-#
-# Copyright 2007 Roy Marples <uberlord@gentoo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-IFACE=$1
-ACTION=$2
-
-SCRIPT=/etc/init.d/net.$IFACE
-
-# ignore interfaces that are registered after being "up" (?)
-case ${IFACE} in
- ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*)
- exit 0 ;;
-esac
-
-# stop here if coldplug is disabled, Bug #206518
-if [ "${do_not_run_plug_service}" = 1 ]; then
- exit 0
-fi
-
-if [ ! -x "${SCRIPT}" ] ; then
- #do not flood log with messages, bug #205687
- #logger -t udev-net.sh "${SCRIPT}: does not exist or is not executable"
- exit 1
-fi
-
-# If we're stopping then sleep for a bit in-case a daemon is monitoring
-# the interface. This to try and ensure we stop after they do.
-[ "${ACTION}" == "stop" ] && sleep 2
-
-IN_HOTPLUG=1 "${SCRIPT}" --quiet "${ACTION}"
diff --git a/rules.d/90-network.rules b/rules.d/90-network.rules
deleted file mode 100644
index 50903af..0000000
--- a/rules.d/90-network.rules
+++ /dev/null
@@ -1,8 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-# /etc/udev/rules/90-network.rules: triggering network init-scripts
-
-# Activate our network if we can
-SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh %k start"
-SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh %k stop"
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-05 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 20:35 [gentoo-commits] proj/udev-gentoo-scripts:master commit in: helpers/, rules.d/ Samuli Suominen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox