[packages/elogind/initscript] init: does not require networking
glen
glen at pld-linux.org
Thu Aug 31 17:36:57 CEST 2017
commit ca3684ce3909ab9ee3787336355efadc2f6ddc08
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Aug 31 18:36:39 2017 +0300
init: does not require networking
elogind.init | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/elogind.init b/elogind.init
index 10c169a..bf79dc7 100755
--- a/elogind.init
+++ b/elogind.init
@@ -10,19 +10,6 @@
# Source function library
. /etc/rc.d/init.d/functions
-# Get network config
-. /etc/sysconfig/network
-
-# Check that networking is up.
-if is_yes "${NETWORKING}"; then
- if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
- msg_network_down "elogind"
- exit 1
- fi
-else
- exit 0
-fi
-
# Get service config - may override defaults
[ -f /etc/sysconfig/elogind ] && . /etc/sysconfig/elogind
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elogind.git/commitdiff/ca3684ce3909ab9ee3787336355efadc2f6ddc08
More information about the pld-cvs-commit
mailing list