rootbind: only bind /bin if binaries are there
This commit is contained in:
parent
b292565c20
commit
37e132735b
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
bind `{pwd} /n/src9
|
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 -a /n/src9/rc/bin /bin
|
||||||
bind /lib/ndb /n/src9/lib/ndb
|
bind /lib/ndb /n/src9/lib/ndb
|
||||||
for(i in $objtype rc acme mail sys lib cron){bind -c /n/src9/$i /$i}
|
for(i in $objtype rc acme mail sys lib cron){bind -c /n/src9/$i /$i}
|
||||||
|
|
Loading…
Reference in a new issue