summaryrefslogtreecommitdiff
path: root/mail/noattach/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-28 04:43:59 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-28 04:43:59 +0000
commitcc0a724bb7fcc9a0683591575c2fb2e39904e8b7 (patch)
tree7e41c9abb001dea98da30b38dd86219393e02202 /mail/noattach/files
parentRemove scriptkit, which has been broken for over 3 years. (diff)
- Update noattach to 1.0beta12
- Make startupscript smarter
Notes
Notes: svn path=/head/; revision=56770
Diffstat (limited to 'mail/noattach/files')
-rw-r--r--mail/noattach/files/noattach.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/noattach/files/noattach.sh b/mail/noattach/files/noattach.sh
index 1cd9dbf19cfd..816941539a1b 100644
--- a/mail/noattach/files/noattach.sh
+++ b/mail/noattach/files/noattach.sh
@@ -13,7 +13,12 @@ start)
echo -n ' noattach'
;;
stop)
- killall noattach
+ if test -r /var/run/noattach.pid
+ then
+ kill `head -1 /var/run/noattach.pid`
+ else
+ echo " noattach: not running" 2>&1
+ fi
rm -f /var/run/noattach.pid
;;
*)