linkpi_firmware_history/rootfs/etc/udev/automount.sh

12 lines
216 B
Bash
Raw Permalink Normal View History

2024-02-15 22:07:30 +01:00
#!/bin/sh
2024-02-15 22:07:42 +01:00
. /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