diff options
author | cinap_lenrek <cinap_lenrek@flatboxold.9hal> | 2011-08-30 05:50:21 -0400 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@flatboxold.9hal> | 2011-08-30 05:50:21 -0400 |
commit | 37e132735bba24f7ebe37c683f05355da3426306 (patch) | |
tree | fec49a120a66af9ed2479b35a240862a82bbbbb2 /sys/lib | |
parent | b292565c20a73ff91b6b89481f99cf40517e0c6a (diff) |
rootbind: only bind /bin if binaries are there
Diffstat (limited to 'sys/lib')
-rwxr-xr-x | sys/lib/rootbind | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/rootbind b/sys/lib/rootbind index a399fbdcb..9acb5e367 100755 --- 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} |