rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3: add boot script to mount external sdcard in /opt/lsts

This commit is contained in:
Pedro Gonçalves 2019-03-15 20:09:05 +00:00
parent 582ef9eec4
commit bc6b79bb55
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
start()
{
echo "* Mounting external sdcard in /opt/lsts *"
mount /dev/mmcblk1p1 /opt/lsts
mkdir -p /opt/lsts/glued
mkdir -p /opt/lsts/dune
}
stop()
{
echo "* Unmount external sdcard *"
umount /dev/mmcblk1p1
}