rootbind: only bind /bin if binaries are there

This commit is contained in:
cinap_lenrek 2011-08-30 05:50:21 -04:00
parent b292565c20
commit 37e132735b

View file

@ -1,5 +1,6 @@
bind `{pwd} /n/src9
bind /n/src9/$objtype/bin /bin
if(test -x /n/src9/$cputype/bin/bind)
bind /n/src9/$cputype/bin /bin
bind -a /n/src9/rc/bin /bin
bind /lib/ndb /n/src9/lib/ndb
for(i in $objtype rc acme mail sys lib cron){bind -c /n/src9/$i /$i}