diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-06-12 10:20:48 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-06-12 10:20:48 +0000 |
commit | 1aa47310cad868fcb7479d27d86d810b5f9f16a9 (patch) | |
tree | 1777fe136f7d2376333810328cc10bd113261020 /www/orion/pkg-deinstall | |
parent | Fix mtree problem reported by Bento. (diff) |
Several fixes and improvements:
- Now installing a man page for 'orionctl'.
- Correctly stopping Orion and removing the PID file on deinstall.
- Verbose install (removed the @-signs).
- Changes the exit codes in the script (and documented them in the man page)
- Extended the documentation in pkg-descr.
PR: 27748
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=43888
Diffstat (limited to 'www/orion/pkg-deinstall')
-rw-r--r-- | www/orion/pkg-deinstall | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/orion/pkg-deinstall b/www/orion/pkg-deinstall new file mode 100644 index 000000000000..3ebd95313283 --- /dev/null +++ b/www/orion/pkg-deinstall @@ -0,0 +1,8 @@ +#!/bin/sh +PID_FILE=/var/run/orion.pid +if [ -e ${PID_FILE} ]; then + echo -n "Orion is still running." + /bin/kill `cat ${PID_FILE}` + rm -f ${PID_FILE} + echo " Stopped." +fi |