From 37e132735bba24f7ebe37c683f05355da3426306 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 30 Aug 2011 05:50:21 -0400 Subject: [PATCH] rootbind: only bind /bin if binaries are there --- sys/lib/rootbind | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}