aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aprsd/pkg-deinstall
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2008-01-25 02:23:27 +0800
committerdb <db@FreeBSD.org>2008-01-25 02:23:27 +0800
commitc36e749840d6f2ee5860a3e85e92074f1607731d (patch)
treeda7b4c31dabc8a856ffb44cbc88c9463dbf51f81 /comms/aprsd/pkg-deinstall
parent846d6a23adaee8e3f4177413dd9c7a877b0a367e (diff)
downloadfreebsd-ports-gnome-c36e749840d6f2ee5860a3e85e92074f1607731d.tar.gz
freebsd-ports-gnome-c36e749840d6f2ee5860a3e85e92074f1607731d.tar.zst
freebsd-ports-gnome-c36e749840d6f2ee5860a3e85e92074f1607731d.zip
- aprsd is a server daemon that provides Internet gateway and client
access to amateur radio APRS packet data.
Diffstat (limited to 'comms/aprsd/pkg-deinstall')
-rw-r--r--comms/aprsd/pkg-deinstall16
1 files changed, 16 insertions, 0 deletions
diff --git a/comms/aprsd/pkg-deinstall b/comms/aprsd/pkg-deinstall
new file mode 100644
index 000000000000..45108ced6931
--- /dev/null
+++ b/comms/aprsd/pkg-deinstall
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+if [ "x$2" != "xPOST-DEINSTALL" ]; then
+ exit 0;
+fi
+
+echo "Killing aprsd if running"
+kill -9 `cat /var/run/aprsd.pid`
+rm -f /var/run/aprsd.pid
+
+cat<<EOF
+If you really want to remove this package completely
+remove what is left in /usr/local/etc/aprsd /var/log/aprsd.
+Also be sure to remove user and groups aprsd and tnc
+and remember to remove aprsd from dialer group.
+EOF