summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/distro-specs/suse/functions-10.220
1 files changed, 11 insertions, 9 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index 47ce5b19..bc8dbff2 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -69,9 +69,9 @@ rllinker powersaved "11" "11"
# policykitd (resource manager/policykitd - the user gets permissions to
# devices when loggin on)
config_dreshal () {
-local start="05"
-local stop="18"
if [ "x$start_dreshal" = "xyes" ]; then
+ local start="05"
+ local stop="18"
if [ -f /mnt/etc/${D_INITDIR}/dbus ] ; then
strinfile "messagebus:" /mnt/etc/passwd || \
echo "messagebus:x:100:101:User for D-BUS:/var/run/dbus:/bin/false" \
@@ -115,19 +115,21 @@ fi
# config nfsv4
config_nfsv4 () {
-testmkd /mnt/var/lib/nfs/rpc_pipefs
-sed -e "s,NFS_SECURITY_GSS=.*,NFS_SECURITY_GSS=\"yes\"," \
+if [ "x$start_nfsv4" = "xyes" ]; then
+ testmkd /mnt/var/lib/nfs/rpc_pipefs
+ sed -e "s,NFS_SECURITY_GSS=.*,NFS_SECURITY_GSS=\"yes\"," \
-e "s,NFS4_SUPPORT=.*,NFS4_SUPPORT=\"yes\"," \
-i /mnt/etc/sysconfig/nfs
-echo -e "rpc_pipefs\t/var/lib/nfs/rpc_pipefs rpc_pipefs defaults\t 0 0\n\
+ echo -e "rpc_pipefs\t/var/lib/nfs/rpc_pipefs rpc_pipefs defaults\t 0 0\n\
nfsd\t\t/proc/fs/nfsd\tnfsd\t\tdefaults\t 0 0" >>/tmp/fstab
echo -e "\t# stuff needed for nfsv4\n\tmount -t rpc_pipefs rpc_pipefs \
/var/lib/nfs/rpc_pipefs\n\tmount -t nfsd nfsd /proc/fs/nfsd" \
>>/mnt/etc/${D_INITDIR}/boot.ld
-# portmap is required for any NFS
-config_portmap
-rllinker "idmapd" "14" "08"
-rllinker "gssd" "15" "07"
+ # portmap is required for any NFS
+ config_portmap
+ rllinker "idmapd" "14" "08"
+ rllinker "gssd" "15" "07"
+fi
}
# prepare virtual machine environment (vmware, vmplayer)