* Clean up ConsoleKit.
svn path=/nixos/trunk/; revision=17434
This commit is contained in:
parent
69f68c319d
commit
a83e308856
1 changed files with 8 additions and 1 deletions
|
@ -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