3 5eb89619 2003-07-12 alex # Debian post-installation script
4 5eb89619 2003-07-12 alex # $Id: ngircd.postinst,v 1.2 2003/07/12 23:27:37 alex Exp $
7 5eb89619 2003-07-12 alex if [ -f /etc/ngircd/ngircd.conf ]; then
8 5eb89619 2003-07-12 alex # make sure that configuration file is not world readable
9 5eb89619 2003-07-12 alex chmod o= /etc/ngircd/ngircd.conf
12 5eb89619 2003-07-12 alex if [ -x "/etc/init.d/ngircd" ]; then
13 5eb89619 2003-07-12 alex # setup init scripts and startup ngircd
14 5eb89619 2003-07-12 alex update-rc.d ngircd defaults >/dev/null
15 5eb89619 2003-07-12 alex if [ -x /usr/sbin/invoke-rc.d ]; then
16 5eb89619 2003-07-12 alex invoke-rc.d ngircd start
18 5eb89619 2003-07-12 alex /etc/init.d/ngircd start