udisks: readd reworked automount script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-07 10:37:43 +02:00
parent 631abab2a8
commit d1e187b821
2 changed files with 13 additions and 0 deletions

View File

@ -49,8 +49,12 @@ PKG_CONFIGURE_OPTS_TARGET="--datadir=/usr/share \
post_makeinstall_target() {
rm -rf $INSTALL/etc/profile.d
rm -rf $INSTALL/lib/udev/rules.d
mkdir -p $INSTALL/usr/lib/udisks
cp $PKG_DIR/scripts/udisks-mount-disks $INSTALL/usr/lib/udisks
}
post_install() {
enable_service udisks.service
enable_service udisks-mount-disks.service
}

View File

@ -0,0 +1,9 @@
[Unit]
Description=Mount internal disks
[Service]
ExecStart=/usr/lib/udisks/udisks-mount-disks
Type=oneshot
[Install]
WantedBy=remote-fs.target