diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-23 20:48:28 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-23 21:07:29 +0300 |
commit | 51274da74fbaa421ce054e1346a9b23390ffec55 (patch) | |
tree | 796d7397a32d8fa7408ffc7364309460020bdfdf /bin/ncp-diag | |
parent | ebdaea068ebaa3dc7e1ea06890a2da88f8620b98 (diff) |
armbian: remove automount from nc-info
Diffstat (limited to 'bin/ncp-diag')
-rw-r--r-- | bin/ncp-diag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag index 1561ae63..573e14c0 100644 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -23,7 +23,7 @@ test -d "$DATADIR" || DIRINFO=" (doesn't exist)" USBDEVS="$( lsblk -S -o NAME,TRAN | awk '{ if ( $2 == "usb" ) print $1; }' | tr '\n' ' ' )" [[ "$USBDEVS" == "" ]] && USBDEVS="none" -echo "automount|$( grep "^ACTIVE_" /usr/local/etc/ncp-config.d/nc-automount.sh | cut -d'=' -f2 )" +[[ -f /usr/local/etc/ncp-config.d/nc-automount.sh ]] && echo "automount|$( grep "^ACTIVE_" /usr/local/etc/ncp-config.d/nc-automount.sh | cut -d'=' -f2 )" echo "USB devices|$USBDEVS" echo "datadir|$DATADIR$DIRINFO" [[ "$DIRINFO" == "" ]] && { |