From f1eab8b9f3a777150bbef0fc9c61e8c10a39d811 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 28 Aug 2008 15:39:41 +0000 Subject: Some cleanup in stage3 scripts (small bugs, wrong variables ...) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2118 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs/distro-specs/ubuntu/functions-default') diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index caddbfd4..884a40ad 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -252,7 +252,7 @@ esac config_automount () { if [ -f /mnt/etc/init.d/autofs ] ; then testmkd /mnt/var/lock/subsys - sed -e "1i# /etc/${default}/autofs - file modified by\n#\t$0:\n#" \ + sed -e "1i# /etc/default/autofs - file modified by\n#\t$0:\n#" \ -e "s,TIMEOUT.*,TIMEOUT=60," -i /mnt/etc/default/autofs config_portmap rllinker "autofs" 12 4 @@ -265,7 +265,7 @@ if [ "x$start_nfsv4" = "xyes" ]; then testmkd /mnt/var/lib/nfs/sm sed -e "s,NEED_IDMAPD=.*,NEED_IDMAPD=\"yes\"," \ -e "s,NEED_GSSD=.*,NEED_GSSD=\"yes\"," \ - -i /mnt/etc/${default}/nfs-common + -i /mnt/etc/default/nfs-common 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 \ -- cgit v1.2.3-55-g7522