diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-11-26 08:05:35 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-11-26 08:05:35 +0100 |
commit | eaf01f77f7a1f707dcd543e5e86f27786e923774 (patch) | |
tree | b63abf8b2112469aece41a2ea47145e7f82657be | |
parent | 501b1fcb20a4ced6478a155fa9e5c5d9aaf018ae (diff) | |
download | ptxdist-eaf01f77f7a1f707dcd543e5e86f27786e923774.tar.gz ptxdist-eaf01f77f7a1f707dcd543e5e86f27786e923774.tar.xz |
ptxd_make_nfsd: fix typo in variable name
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/lib/ptxd_make_nfsd.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/ptxd_make_nfsd.sh b/scripts/lib/ptxd_make_nfsd.sh index f7d8136d0..4a68dcb0b 100644 --- a/scripts/lib/ptxd_make_nfsd.sh +++ b/scripts/lib/ptxd_make_nfsd.sh @@ -8,7 +8,7 @@ ptxd_make_nfsd_exec() { local port - local client_specficiations + local client_specifications local root="/$(basename "${ptx_nfsroot}")" local base="$(dirname "${ptx_nfsroot}")" @@ -16,15 +16,15 @@ ptxd_make_nfsd_exec() { port=2049 fi - if ! client_specficiations="$(ptxd_get_kconfig "${PTXDIST_BOARDSETUP}" "PTXCONF_BOARDSETUP_NFSROOT_CLIENT_SPECIFICATIONS")"; then - client_specficiations="(rw,no_root_squash)" + if ! client_specifications="$(ptxd_get_kconfig "${PTXDIST_BOARDSETUP}" "PTXCONF_BOARDSETUP_NFSROOT_CLIENT_SPECIFICATIONS")"; then + client_specifications="(rw,no_root_squash)" fi echo echo "Mount rootfs with nfsroot=${root},v3,tcp,port=${port},mountport=${port}" echo - echo "/ ${client_specficiations}" > "${PTXDIST_TEMPDIR}/exports" && + echo "/ ${client_specifications}" > "${PTXDIST_TEMPDIR}/exports" && UNFS_BASE="${base}" unfsd -e "${PTXDIST_TEMPDIR}/exports" -n ${port} -m ${port} -p -d } export -f ptxd_make_nfsd_exec |