#!/bin/sh #BLURB="Enable/disable dovecot at boot" # # System setup script for Slackware # # T_PX=$1 TMP=/var/log/setup/tmp if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then dialog --title "ENABLE dovecot DAEMON AT BOOT?" --yesno \ "Dovecot is an IMAP server for Linux/UNIX-like systems, written with \ security primarily in mind. Although it's written with C, it uses \ several coding techniques to avoid most of the common pitfalls. \ Dovecot can work with standard mbox and maildir formats and it's fully \ compatible with UW-IMAP and Courier IMAP servers as well as mail \ clients accessing the mailboxes directly." 10 70 if [ $? = 0 ]; then mkdir -p /etc/rc.d/rc3.d /etc/rc.d/rc4.d ln -s /etc/rc.d/init.d/dovecot /etc/rc.d/rc3.d/K24dovecot ln -s /etc/rc.d/init.d/dovecot /etc/rc.d/rc3.d/S76dovecot ln -s /etc/rc.d/init.d/dovecot /etc/rc.d/rc4.d/K24dovecot ln -s /etc/rc.d/init.d/dovecot /etc/rc.d/rc4.d/S76dovecot else rm -f /etc/rc.d/rc3.d/K24dovecot /etc/rc.d/rc3.d/S76dovecot /etc/rc.d/rc4.d/K24dovecot /etc/rc.d/rc4.d/S76dovecot fi fi