busybox/check: disable module by default and check for busybox binary

master
Harald Hoyer 2010-11-10 16:38:40 +01:00
parent 856285aa90
commit cd7ee4913d
1 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,7 @@
#!/bin/bash
exit 0

[[ $1 = -d ]] && exit 0

type -P busybox >/dev/null || exit 1

exit 255