prerm is in ppp 2.4.7-1+2ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
set -e
# If we are removing ppp we have to stop all ppp's
if [ "$1" = remove ]; then
echo -n "Stopping all PPP connections..."
start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/pppd || true
echo "done."
fi
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/pon 2.4.7-1+2~ -- "$@"
# End automatically added section
|