diff options
author | Colin Guthrie <colin@mageia.org> | 2012-03-28 00:00:01 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-04-01 11:03:43 +0100 |
commit | 4c9ff1da93d70dd2fd51b2d639b68c69539aee03 (patch) | |
tree | 9f5cd524faf7ad2adb73755b65aba10c0cc55192 /mandriva | |
parent | 6dbd83fe17f7867ed3747acdc071d4edacdfa5f0 (diff) | |
download | initscripts-4c9ff1da93d70dd2fd51b2d639b68c69539aee03.tar initscripts-4c9ff1da93d70dd2fd51b2d639b68c69539aee03.tar.gz initscripts-4c9ff1da93d70dd2fd51b2d639b68c69539aee03.tar.bz2 initscripts-4c9ff1da93d70dd2fd51b2d639b68c69539aee03.tar.xz initscripts-4c9ff1da93d70dd2fd51b2d639b68c69539aee03.zip |
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.
Diffstat (limited to 'mandriva')
-rwxr-xr-x | mandriva/network-auth | 3 |
1 files changed, 2 insertions, 1 deletions
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. |