initrd.scripts: rename findnfsmount to find_nfs

master
Fabio Erculiani 12 years ago
parent f4b4d6d0d6
commit 9d043ca938

@ -401,7 +401,7 @@ mount_sysfs() {
[ ${ret} -eq 0 ] || bad_msg "Failed to mount /sys!" [ ${ret} -eq 0 ] || bad_msg "Failed to mount /sys!"
} }
findnfsmount() { find_nfs() {
if [ -z "${IP}" ]; then if [ -z "${IP}" ]; then
# IP is not set, return straight away # IP is not set, return straight away
return 1 return 1
@ -2006,7 +2006,7 @@ rootdev_init() {
# Try to mount the device as ${NEW_ROOT} # Try to mount the device as ${NEW_ROOT}
if is_nfs; then if is_nfs; then
findnfsmount find_nfs # sets ${?} checked below
else else
# mount ro so fsck doesn't barf later # mount ro so fsck doesn't barf later
if [ "${REAL_ROOTFLAGS}" = '' ]; then if [ "${REAL_ROOTFLAGS}" = '' ]; then

Loading…
Cancel
Save