rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3: add boot script to mount external sdcard in /opt/lsts
This commit is contained in:
		
							
								
								
									
										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