newuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home/bin/amd64
This commit is contained in:
parent
29eea45931
commit
269788514c
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ if(test -f $home/lib/profile){
|
||||||
}
|
}
|
||||||
cd $home
|
cd $home
|
||||||
x='$'
|
x='$'
|
||||||
mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm
|
mkdir bin bin/rc bin/mips bin/386 bin/amd64 bin/power bin/arm
|
||||||
mkdir lib tmp
|
mkdir lib tmp
|
||||||
chmod +t tmp
|
chmod +t tmp
|
||||||
bind -qc /n/other/usr/$user/tmp $home/tmp
|
bind -qc /n/other/usr/$user/tmp $home/tmp
|
||||||
|
@ -17,8 +17,8 @@ mail -c
|
||||||
auth/cron -c
|
auth/cron -c
|
||||||
|
|
||||||
cat > lib/profile <<!
|
cat > lib/profile <<!
|
||||||
bind -a $x^home/bin/rc /bin
|
bind -qa $x^home/bin/rc /bin
|
||||||
bind -a $x^home/bin/$x^cputype /bin
|
bind -qa $x^home/bin/$x^cputype /bin
|
||||||
mount -qC /srv/boot /n/other other
|
mount -qC /srv/boot /n/other other
|
||||||
bind -qc /n/other/usr/$x^user/tmp $x^home/tmp
|
bind -qc /n/other/usr/$x^user/tmp $x^home/tmp
|
||||||
bind -c $x^home/tmp /tmp
|
bind -c $x^home/tmp /tmp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue