linkpi_firmware_history/rootfs/link/shell/mountUsb.sh

12 lines
216 B
Bash

#!/bin/sh
. /link/shell/util/func.sh
jopen /link/config/misc/disk.json
enable=`jget enable`
if [ $enable == "true" ];then
used=`jget used`
if [ $used == "local" ];then
/link/shell/mount.sh
fi
fi