![]() |
2014-03-24
, 16:16
|
Posts: 24 |
Thanked: 7 times |
Joined on Nov 2011
|
#11
|
![]() |
2014-03-24
, 17:55
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#12
|
#!/bin/bash ACTION=$1 if [ "$ACTION" = "add" ]; then mount /dev/mmcblk1p1 /mnt/sd mount -o bind /mnt/sd/.home /home/nemo mount -o bind /mnt/sd/.android /data/sdcard else umount /data/sdcard umount /home/nemo umount /mnt/sd fi
[Unit] Description=Handle custom sdcard After=local-fs.target RequiresMountsFor=/home [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/mount-sd.custom.sh add ExecStop=/usr/sbin/mount-sd.custom.sh remove [Install] WantedBy=multi-user.target
![]() |
2014-03-24
, 18:56
|
Posts: 144 |
Thanked: 242 times |
Joined on Nov 2007
@ Finland
|
#13
|
The Following User Says Thank You to Penguin For This Useful Post: | ||
![]() |
2014-03-30
, 08:58
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#15
|