aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2012-07-22 20:05:15 +0200
committerOlivier Blin <dev@blino.org>2012-10-23 23:30:17 +0200
commit4d757d4cbe59318b9419744d11c0e2742e702dd3 (patch)
tree4f72cd381f24d305a1fd11151368004a47b2c70d /rc.d
parent03d54af2ff1d83ce5b69bd6524f622bc72492f87 (diff)
downloadinitscripts-4d757d4cbe59318b9419744d11c0e2742e702dd3.tar
initscripts-4d757d4cbe59318b9419744d11c0e2742e702dd3.tar.gz
initscripts-4d757d4cbe59318b9419744d11c0e2742e702dd3.tar.bz2
initscripts-4d757d4cbe59318b9419744d11c0e2742e702dd3.tar.xz
initscripts-4d757d4cbe59318b9419744d11c0e2742e702dd3.zip
remove mandriva-clean-var-run-lock systemd service, unneded now that /var/lock is a symlink to /run/lock
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/network11
1 files changed, 0 insertions, 11 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index e9d22dd7..fbe67dd9 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -62,17 +62,6 @@ case "$1" in
start)
[ "$EUID" != "0" ] && exit 4
- # (cg) Note that using /var/lock/subsys/network as an indicator is not
- # enough to prevent the udev net_action script kicking in on boot as
- # /var/lock may be messy from the previous boot.
- # The systemd service mandriva-clean-var-run-lock.service should tidy
- # it up but it cannot run until after udev has started due to it being
- # needed to mount /var filesystems.
- # We can remove the hack below once /var/lock is a symlink to /run/lock
- # which is on tmpfs and thus requires no cleaning.
- # Please also see the corresponding code/comment in /lib/udev/net_action
- touch /run/.mageia-network 2>/dev/null
-
rc=0
# IPv6 hook (pre IPv4 start)
if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then