shadow/debian/login.prerm

9 lines
96 B
Bash

#!/bin/sh
set -e
case $1 in
remove|upgrade|deconfigure)
/etc/init.d/logoutd stop
;;
esac