summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network35
1 files changed, 26 insertions, 9 deletions
diff --git a/etc/rc.network b/etc/rc.network
index 413dc4f..86db5ea 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -686,31 +686,48 @@ network_pass3() {
;;
esac
- # Kerberos runs ONLY on the Kerberos server machine
- case ${kerberos_server_enable} in
+ # Kerberos servers run ONLY on the Kerberos server machine
+ case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
- stash_flag=-n
+ stash=-n
;;
*)
- stash_flag=
+ stash=
;;
esac
- echo -n ' kerberos'
- kerberos ${stash_flag} >> /var/log/kerberos.log &
+ echo -n ' kerberosIV'
+ ${kerberos4_server} ${stash} >> /var/log/kerberos.log &
- case ${kadmind_server_enable} in
+ case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
- echo -n ' kadmind'
- (sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
+ echo -n ' kadmindIV'
+ (
+ sleep 20;
+ ${kadmind4_server} ${stash} >/dev/null 2>&1 &
+ ) &
;;
esac
unset stash_flag
;;
esac
+ case ${kerberos5_server_enable} in
+ [Yy][Ee][Ss])
+ echo -n ' kerberos5'
+ ${kerberos5_server} &
+
+ case ${kadmind5_server_enable} in
+ [Yy][Ee][Ss])
+ echo -n ' kadmind5'
+ ${kadmind5_server} &
+ ;;
+ esac
+ ;;
+ esac
+
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then
OpenPOWER on IntegriCloud