Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-01-15 04:34:05 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-15 04:34:08 +0300
commit9b1ecbb8d605ddded41ed011653b213d4b9b03da (patch)
tree75c16e56090ff0c6088f4e3f7ef4fbce99af2969 /bin/ncp-diag
parent389ed0cfe68234c0fa3c8ca4bd802274c9766973 (diff)
nc-info: fix automount reportingv1.3.4
Diffstat (limited to 'bin/ncp-diag')
-rw-r--r--bin/ncp-diag2
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"