From: Ben Gras Date: Mon, 5 Sep 2005 17:02:26 +0000 (+0000) Subject: Create home directories after setup X-Git-Tag: v3.1.0~185 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=6bf8c8d23f723dacc41e1c50bbb24da0d8c8155f;p=minix.git Create home directories after setup --- 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