From f3bf779f7ac381f632cebcdb30c5799b47faaaf7 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 5 Oct 2023 01:30:14 +0200 Subject: [PATCH] scripts dutchification - batch 3 --- etc/rc.d/rc.6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.6 b/etc/rc.d/rc.6 index dc00c2f64..17729b61a 100755 --- a/etc/rc.d/rc.6 +++ b/etc/rc.d/rc.6 @@ -148,7 +148,7 @@ fi # Unmount any NFS, SMB, or CIFS filesystems: log "Unmounting remote filesystems:" -/bin/umount -v -a -l -f -r -t nfs,nfs4,smbfs,cifs | /bin/tr -d ' ' | /bin/grep successfully | /bin/sed "s/:successfullyunmounted/ has been successfully unmounted./g" | log +/sbin/umount -v -a -l -f -r -t nfs,nfs4,smbfs,cifs | /bin/tr -d ' ' | /bin/grep successfully | /bin/sed "s/:successfullyunmounted/ has been successfully unmounted./g" | log # Update PATH hashes: hash -r @@ -225,7 +225,7 @@ while IFS= read -r LINE; do MOUNT_PATH=$(/bin/echo "$LINE" | awk '{print $2}') [[ " ${EXCLUDE_TYPES[@]} " =~ " $MOUNT_TYPE " ]] && continue [[ " ${EXCLUDE_PATHS[@]} " =~ " $MOUNT_PATH " ]] && continue - run /bin/umount -v "$MOUNT_PATH" + run /sbin/umount -v "$MOUNT_PATH" done <<< "$MOUNTS" # limetech - shut down the unraid driver if started