diff options
Diffstat (limited to 'disk/pmount/PRE_INSTALL')
-rwxr-xr-x | disk/pmount/PRE_INSTALL | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/disk/pmount/PRE_INSTALL b/disk/pmount/PRE_INSTALL index bbb69296d4..7cd79a5938 100755 --- a/disk/pmount/PRE_INSTALL +++ b/disk/pmount/PRE_INSTALL @@ -1,6 +1,7 @@ -default_pre_install && -create_group plugdev && -if [ "$PMOUNT" == "y" ]; then +default_pre_install && +create_group plugdev && + +if is_depends_enabled $SPELL hal; then usermod -G plugdev -a haldaemon && mkdir -p ${INSTALL_ROOT}/etc/hal/device.d && ln -sfn ${INSTALL_ROOT}/usr/bin/pmount-hal ${INSTALL_ROOT}/etc/hal/device.d/60-pmount.hal |