aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aprsd/pkg-deinstall
blob: 45108ced693133c93e5f0fff349cb4f5367cb5b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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