diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch index 830467c52b8..fe84fd9ecd6 100644 --- a/etc/rc.d/nsswitch +++ b/etc/rc.d/nsswitch @@ -54,6 +54,21 @@ convert_host_conf() }' < $host_conf > $nsswitch_conf } +generate_nsswitch_conf() +{ + nsswitch_conf=$1; shift; + + cat >$nsswitch_conf <