summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/scientific/functions-default
diff options
context:
space:
mode:
Diffstat (limited to 'src/initramfs/distro-specs/scientific/functions-default')
-rw-r--r--src/initramfs/distro-specs/scientific/functions-default4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/initramfs/distro-specs/scientific/functions-default b/src/initramfs/distro-specs/scientific/functions-default
index 311814c9..4f8aa7de 100644
--- a/src/initramfs/distro-specs/scientific/functions-default
+++ b/src/initramfs/distro-specs/scientific/functions-default
@@ -235,7 +235,9 @@ if [ "x$start_dreshal" = "xyes" ]; then
rllinker "messagebus" $start $stop
fi
if [ -f /mnt/etc/init.d/haldaemon ] ; then
- testmkd /mnt/var/lib/hal
+ testmkd /mnt/var/lib/hal haldaemon:haldaemon
+ testmkd /mnt/var/run/hal haldaemon:haldaemon
+ testmkd /mnt/var/cache/hald haldaemon:haldaemon
strinfile "haldaemon:" /mnt/etc/passwd || \
echo "haldaemon:x:68:68:User for haldaemon:/var/run/hal:/sbin/nologin" \
>> /mnt/etc/passwd