* Quick hack to make HAL start properly.

svn path=/nixos/trunk/; revision=11262
This commit is contained in:
Eelco Dolstra 2008-03-22 16:05:01 +00:00
parent d6e1828c13
commit 3703cd13a2
2 changed files with 28 additions and 25 deletions

View File

@ -35,8 +35,8 @@ in
extraPath = [dbus.daemon dbus.tools]; extraPath = [dbus.daemon dbus.tools];
job = " job = ''
description \"D-Bus system message bus daemon\" description "D-Bus system message bus daemon"
start on startup start on startup
stop on shutdown stop on shutdown
@ -57,6 +57,6 @@ script
rm -f ${homeDir}/pid rm -f ${homeDir}/pid
exec ${dbus}/bin/dbus-daemon --config-file=${configFile}/system.conf exec ${dbus}/bin/dbus-daemon --config-file=${configFile}/system.conf
end script end script
"; '';
} }

View File

@ -18,19 +18,22 @@
extraPath = [hal]; extraPath = [hal];
job = " job = ''
description \"HAL daemon\" description "HAL daemon"
start on dbus start on dbus
stop on shutdown stop on shutdown
start script start script
# !!! quick hack: wait until dbus has started
sleep 3
mkdir -m 0755 -p /var/cache/hald mkdir -m 0755 -p /var/cache/hald
end script end script
respawn ${hal}/sbin/hald --daemon=no --verbose=yes respawn ${hal}/sbin/hald --daemon=no --verbose=yes
"; '';
} }