forked from mirrors/nixpkgs
* Clean up ConsoleKit.
svn path=/nixos/trunk/; revision=17434
This commit is contained in:
parent
69f68c319d
commit
a83e308856
|
@ -138,7 +138,14 @@ in
|
|||
''
|
||||
pid=$(cat ${homeDir}/pid)
|
||||
if test -n "$pid"; then
|
||||
kill -9 $pid
|
||||
kill $pid
|
||||
fi
|
||||
|
||||
# !!! Hack: doesn't belong here.
|
||||
pid=$(cat /var/run/ConsoleKit/pid)
|
||||
if test -n "$pid"; then
|
||||
kill $pid
|
||||
rm /var/run/ConsoleKit/pid
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue