tracker-control -es
#!/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
| The Following User Says Thank You to Penguin For This Useful Post: | ||
| The Following User Says Thank You to hopey For This Useful Post: | ||