Use printf so we don't put blank lines at the top of new files and fix mountinfo for nfs roots

This commit is contained in:
Roy Marples
2007-07-16 17:07:15 +00:00
parent 42a5cb043b
commit 26d11b33cf
3 changed files with 29 additions and 32 deletions

View File

@ -21,7 +21,7 @@ stop_addon() {
is_net_fs() {
[ -z "$1" ] && return 1
local t=$(mountinfo --fstype "$1" )
local t=$(mountinfo --fstype "$1")
for x in ${RC_NET_FS_LIST} ; do
[ "${x}" = "${t}" ] && return 0
done