3
0
Fork 0
forked from mirrors/nixpkgs

Remove dead code

This commit is contained in:
Eelco Dolstra 2013-10-27 23:36:41 +01:00
parent df4a3cc9f9
commit 41c8f9598e

View file

@ -137,41 +137,6 @@ in
OOMScoreAdjust=-900
'';
/*
jobs.dbus =
{ startOn = "started udev and started syslogd";
restartIfChanged = false;
path = [ pkgs.dbus_daemon pkgs.dbus_tools ];
preStart =
''
mkdir -m 0755 -p ${homeDir}
chown messagebus ${homeDir}
mkdir -m 0755 -p /var/lib/dbus
dbus-uuidgen --ensure
rm -f ${homeDir}/pid
'';
daemonType = "fork";
exec = "dbus-daemon --system";
postStop =
''
# !!! Hack: doesn't belong here.
pid=$(cat /var/run/ConsoleKit/pid || true)
if test -n "$pid"; then
kill $pid || true
rm -f /var/run/ConsoleKit/pid
fi
'';
};
*/
security.setuidOwners = singleton
{ program = "dbus-daemon-launch-helper";
source = "${pkgs.dbus_daemon}/libexec/dbus-daemon-launch-helper";