diff options
author | Jason Leach <jasonleach@usa.net> | 2001-02-02 05:51:20 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-02-02 05:51:20 +0800 |
commit | b8947bc217fbe961cd367f25b2457f151ca448c5 (patch) | |
tree | a367d53cf096958e138a07c19cb10f204cc04a8d /tools/killev | |
parent | faed29373470d8de75aeb0742d64b9045fe76b58 (diff) | |
download | gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar.gz gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar.bz2 gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar.lz gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar.xz gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.tar.zst gsoc2013-evolution-b8947bc217fbe961cd367f25b2457f151ca448c5.zip |
Fix this script to make it work with Solaris. Patch from Louise Miller.
2001-02-01 Jason Leach <jasonleach@usa.net>
* tools/killev: Fix this script to make it work with Solaris.
Patch from Louise Miller.
svn path=/trunk/; revision=7936
Diffstat (limited to 'tools/killev')
-rwxr-xr-x | tools/killev | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/tools/killev b/tools/killev index 04b2c1532c..cc24e81664 100755 --- a/tools/killev +++ b/tools/killev @@ -1,19 +1,27 @@ -killall -9 wombat 2>/dev/null -killall -9 lt-wombat 2>/dev/null -killall -9 tlacuache 2>/dev/null -killall -9 evolution-addressbook 2>/dev/null -killall -9 evolution-addres 2>/dev/null -killall -9 lt-evolution-addressbook 2>/dev/null -killall -9 lt-evolution-add 2>/dev/null -killall -9 evolution-calendar 2>/dev/null -killall -9 evolution-calend 2>/dev/null -killall -9 lt-evolution-calendar 2>/dev/null -killall -9 lt-evolution-cal 2>/dev/null -killall -9 lt-gnomecal 2>/dev/null -killall -9 evolution-mail 2>/dev/null -killall -9 lt-evolution-mail 2>/dev/null -killall -9 lt-evolution-mai 2>/dev/null -killall -9 evolution-executive-summary 2>/dev/null -killall -9 lt-evolution-executive-summary 2>/dev/null -killall -9 lt-evolution-executive-summar 2>/dev/null -killall -9 evolution 2>/dev/null +sysname=`uname -s` + +if [ "$sysname" = "SunOS" ]; then + killcmd="pkill" +else + killcmd="killall" +fi + +$killcmd -9 wombat 2>/dev/null +$killcmd -9 lt-wombat 2>/dev/null +$killcmd -9 tlacuache 2>/dev/null +$killcmd -9 evolution-addressbook 2>/dev/null +$killcmd -9 evolution-addres 2>/dev/null +$killcmd -9 lt-evolution-addressbook 2>/dev/null +$killcmd -9 lt-evolution-add 2>/dev/null +$killcmd -9 evolution-calendar 2>/dev/null +$killcmd -9 evolution-calend 2>/dev/null +$killcmd -9 lt-evolution-calendar 2>/dev/null +$killcmd -9 lt-evolution-cal 2>/dev/null +$killcmd -9 lt-gnomecal 2>/dev/null +$killcmd -9 evolution-mail 2>/dev/null +$killcmd -9 lt-evolution-mail 2>/dev/null +$killcmd -9 lt-evolution-mai 2>/dev/null +$killcmd -9 evolution-executive-summary 2>/dev/null +$killcmd -9 lt-evolution-executive-summary 2>/dev/null +$killcmd -9 lt-evolution-executive-summar 2>/dev/null +$killcmd -9 evolution 2>/dev/null |