mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
ntfs3g: service: avoid error on shutdown
This commit is contained in:
parent
398ecea051
commit
8cf75aadd8
@ -5,7 +5,7 @@ Before=samba-config.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mount -o bind /storage/.kodi/addons/service.ntfs3g/bin/mount.ntfs3g /usr/sbin/mount.ntfs
|
||||
ExecStop=/usr/bin/umount /usr/sbin/mount.ntfs
|
||||
ExecStop=/bin/sh -c 'grep -q " /usr/sbin/mount.ntfs " /proc/self/mounts && umount /usr/sbin/mount.ntfs || true'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user