summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-28 17:39:41 +0200
committerDirk von Suchodoletz2008-08-28 17:39:41 +0200
commitf1eab8b9f3a777150bbef0fc9c61e8c10a39d811 (patch)
tree73415b0df4607049164675fb6d78bcc252a166d4 /initramfs/distro-specs/ubuntu/functions-default
parent * added patched binary versions of hwinfo/libhd (diff)
downloadcore-f1eab8b9f3a777150bbef0fc9c61e8c10a39d811.tar.gz
core-f1eab8b9f3a777150bbef0fc9c61e8c10a39d811.tar.xz
core-f1eab8b9f3a777150bbef0fc9c61e8c10a39d811.zip
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
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default4
1 files changed, 2 insertions, 2 deletions
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 \