net/bonding: checkbashisms.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson 2012-11-06 23:18:08 +00:00
parent 91e28ab775
commit ed3b0c66f9

View File

@ -136,7 +136,7 @@ bonding_pre_start()
else
# warn if root on nfs and no subsume interface supplied
local root_fs_type=$(mountinfo -s /)
if [ "${root_fs_type}" == "nfs" ]; then
if [ "${root_fs_type}" = "nfs" ]; then
warn_nfs=1
ewarn "NFS root detected!!!"
ewarn " If your system crashes here, /etc/conf.d/net needs"