ref: 37e132735bba24f7ebe37c683f05355da3426306
parent: b292565c20a73ff91b6b89481f99cf40517e0c6a
author: cinap_lenrek <[email protected]>
date: Tue Aug 30 01:50:21 EDT 2011
rootbind: only bind /bin if binaries are there
--- a/sys/lib/rootbind
+++ b/sys/lib/rootbind
@@ -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}