rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3: add boot script to mount external sdcard in /opt/lsts
This commit is contained in:
parent
582ef9eec4
commit
bc6b79bb55
14
rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3
Normal file
14
rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3
Normal 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user