[packages/VirtualBox] vboxservice does not depend on network
glen
glen at pld-linux.org
Fri Feb 28 16:24:03 CET 2014
commit a0cb77b15035a51e1f860c58e2f69d4d78a7f125
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Feb 28 17:23:52 2014 +0200
vboxservice does not depend on network
vboxservice.init | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/vboxservice.init b/vboxservice.init
index 79ebd25..d1715cc 100755
--- a/vboxservice.init
+++ b/vboxservice.init
@@ -8,19 +8,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 "VBox Service"
- exit 1
- fi
-else
- exit 0
-fi
-
# Get service config - may override defaults
[ -f /etc/sysconfig/vboxservice ] && . /etc/sysconfig/vboxservice
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/a0cb77b15035a51e1f860c58e2f69d4d78a7f125
More information about the pld-cvs-commit
mailing list