diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-01-15 04:34:05 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-01-15 04:34:08 +0300 |
commit | 9b1ecbb8d605ddded41ed011653b213d4b9b03da (patch) | |
tree | 75c16e56090ff0c6088f4e3f7ef4fbce99af2969 /bin/ncp-diag | |
parent | 389ed0cfe68234c0fa3c8ca4bd802274c9766973 (diff) |
nc-info: fix automount reportingv1.3.4
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 7e9e2a63..fd94f702 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" -am_cfg="/usr/local/etc/nc-automount.cfg" +am_cfg="/usr/local/etc/ncp-config.d/nc-automount.cfg" [[ -f "$am_cfg" ]] && [[ "$(jq -r ".params[0].value" "$am_cfg")" == "yes" ]] && echo "automount|yes" || echo "automount|no" echo "USB devices|$USBDEVS" echo "datadir|$DATADIR$DIRINFO" |