From 4c9ff1da93d70dd2fd51b2d639b68c69539aee03 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 28 Mar 2012 00:00:01 +0100 Subject: Ensure network-auth holds up user logins under systemd This change ensures that systemd will wait until this script completes (and thus network is up) before we allow any logins. Also provide $named such that this translates to nss-lookup.target in systemd. --- mandriva/network-auth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandriva') diff --git a/mandriva/network-auth b/mandriva/network-auth index 8c404ef9..bfbae50d 100755 --- a/mandriva/network-auth +++ b/mandriva/network-auth @@ -1,10 +1,11 @@ #! /bin/bash # ### BEGIN INIT INFO -# Provides: network-auth +# Provides: $named network-auth # Required-Start: $network # Required-Stop: $network # Should-Start: ypbind winbind ldap +# X-Start-Before: systemd-user-sessions # Default-Start: 2 3 4 5 # Short-Description: Requires network to be up if enabled # Description: Requires network to be up if enabled. -- cgit v1.2.1