From 9d043ca9383f94b621657e7deb96d459944dfb20 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 26 Aug 2013 20:00:14 +0200 Subject: [PATCH] initrd.scripts: rename findnfsmount to find_nfs --- defaults/initrd.scripts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 7724b73..df93f54 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -401,7 +401,7 @@ mount_sysfs() { [ ${ret} -eq 0 ] || bad_msg "Failed to mount /sys!" } -findnfsmount() { +find_nfs() { if [ -z "${IP}" ]; then # IP is not set, return straight away return 1 @@ -2006,7 +2006,7 @@ rootdev_init() { # Try to mount the device as ${NEW_ROOT} if is_nfs; then - findnfsmount + find_nfs # sets ${?} checked below else # mount ro so fsck doesn't barf later if [ "${REAL_ROOTFLAGS}" = '' ]; then