From 6bf8c8d23f723dacc41e1c50bbb24da0d8c8155f Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 5 Sep 2005 17:02:26 +0000 Subject: [PATCH] Create home directories after setup --- commands/scripts/setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index fe85ae8e2..ecb468118 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -441,6 +441,20 @@ sync bios="`echo $primary | sed 's/d./dX/g'`" +if [ ! "$auto" = "r" ] +then if mount /dev/$home /home + then for u in bin ast + do if mkdir ~$u + then echo " * Creating home directory for $u in ~$u" + cpdir /usr/ast ~$u + chown -R $u:operator ~$u + else echo " * Couldn't create ~$u" + fi + done + umount /dev/$home + fi +fi + echo " Please type 'shutdown' to exit MINIX 3 and enter the boot monitor. At the boot monitor prompt, type 'boot $bios', where X is the bios drive