* Quick hack to make HAL start properly.
svn path=/nixos/trunk/; revision=11262
This commit is contained in:
parent
d6e1828c13
commit
3703cd13a2
|
@ -35,28 +35,28 @@ in
|
|||
|
||||
extraPath = [dbus.daemon dbus.tools];
|
||||
|
||||
job = "
|
||||
description \"D-Bus system message bus daemon\"
|
||||
job = ''
|
||||
description "D-Bus system message bus daemon"
|
||||
|
||||
start on startup
|
||||
stop on shutdown
|
||||
start on startup
|
||||
stop on shutdown
|
||||
|
||||
start script
|
||||
start script
|
||||
|
||||
mkdir -m 0755 -p ${homeDir}
|
||||
chown messagebus ${homeDir}
|
||||
mkdir -m 0755 -p ${homeDir}
|
||||
chown messagebus ${homeDir}
|
||||
|
||||
mkdir -m 0755 -p /var/lib/dbus
|
||||
${dbus.tools}/bin/dbus-uuidgen --ensure
|
||||
mkdir -m 0755 -p /var/lib/dbus
|
||||
${dbus.tools}/bin/dbus-uuidgen --ensure
|
||||
|
||||
end script
|
||||
end script
|
||||
|
||||
respawn
|
||||
respawn
|
||||
|
||||
script
|
||||
rm -f ${homeDir}/pid
|
||||
exec ${dbus}/bin/dbus-daemon --config-file=${configFile}/system.conf
|
||||
end script
|
||||
";
|
||||
script
|
||||
rm -f ${homeDir}/pid
|
||||
exec ${dbus}/bin/dbus-daemon --config-file=${configFile}/system.conf
|
||||
end script
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
@ -18,19 +18,22 @@
|
|||
|
||||
extraPath = [hal];
|
||||
|
||||
job = "
|
||||
description \"HAL daemon\"
|
||||
job = ''
|
||||
description "HAL daemon"
|
||||
|
||||
start on dbus
|
||||
stop on shutdown
|
||||
start on dbus
|
||||
stop on shutdown
|
||||
|
||||
start script
|
||||
start script
|
||||
|
||||
mkdir -m 0755 -p /var/cache/hald
|
||||
# !!! quick hack: wait until dbus has started
|
||||
sleep 3
|
||||
|
||||
end script
|
||||
mkdir -m 0755 -p /var/cache/hald
|
||||
|
||||
respawn ${hal}/sbin/hald --daemon=no --verbose=yes
|
||||
";
|
||||
end script
|
||||
|
||||
respawn ${hal}/sbin/hald --daemon=no --verbose=yes
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue