summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitramfs/stage3-stuff/bin/servconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/stage3-stuff/bin/servconfig b/initramfs/stage3-stuff/bin/servconfig
index b0142001..67450253 100755
--- a/initramfs/stage3-stuff/bin/servconfig
+++ b/initramfs/stage3-stuff/bin/servconfig
@@ -191,7 +191,7 @@ auto.master." >/mnt/etc/auto.misc
>> /mnt/etc/auto.master
echo -e "# /etc/auto.${amdirn} created by $0:\n" \
> /mnt/etc/auto.${amdirn}
- echo -e "*\t-rsize=32768,wsize=32768,rw\t${amserv}:${ampath}/&" \
+ echo -e "*\t-rsize=32768,wsize=32768,rw\t${amserv}:/${ampath}/&" \
>> /mnt/etc/auto.${amdirn}
# no tempfs needed if automounter operates on /home
[ "${automnt_dir}" = "home" ] && umount -t tmpfs /mnt/home 2>/dev/null