summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-02 10:59:05 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-02 10:59:05 +0100
commit269788514c9dae931ed6ac537786e56cabe44296 (patch)
treeb1db68724b39c195764c5e647b3ecebe36a5242a /sys/lib
parent29eea45931f6ae094bb2be5c82d7ad6641dc1e65 (diff)
newuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home/bin/amd64
Diffstat (limited to 'sys/lib')
-rwxr-xr-xsys/lib/newuser6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/newuser b/sys/lib/newuser
index 6e16a6342..6cbe0dcfc 100755
--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -8,7 +8,7 @@ if(test -f $home/lib/profile){
}
cd $home
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
chmod +t tmp
bind -qc /n/other/usr/$user/tmp $home/tmp
@@ -17,8 +17,8 @@ mail -c
auth/cron -c
cat > lib/profile <<!
-bind -a $x^home/bin/rc /bin
-bind -a $x^home/bin/$x^cputype /bin
+bind -qa $x^home/bin/rc /bin
+bind -qa $x^home/bin/$x^cputype /bin
mount -qC /srv/boot /n/other other
bind -qc /n/other/usr/$x^user/tmp $x^home/tmp
bind -c $x^home/tmp /tmp