diff options
-rwxr-xr-x | etc/functions/off | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/functions/off b/etc/functions/off index 12555d3..e5fa150 100755 --- a/etc/functions/off +++ b/etc/functions/off @@ -44,6 +44,10 @@ if [[ $force != 1 && $hosts[$HOST] == *:server:* ]] { return 1 } +if ps aux | fgrep amarokapp &> /dev/null; then + dcop amarok MainApplication-Interface quit +fi + execute uinit stop-all for line in $(cat /etc/fstab); { if [[ $line == *[12] ]] { |