#!/bin/sh #BLURB="Enable/disable Router Advertisement daemon 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 fcgiwrap DAEMON AT BOOT?" --yesno \ "Simple FastCGI wrapper for CGI scripts" 8 70 if [ $? = 0 ]; then mkdir -p /etc/rc.d/rc3.d /etc/rc.d/rc4.d ln -s /etc/rc.d/init.d/fcgiwrap /etc/rc.d/rc3.d/K25fcgiwrap ln -s /etc/rc.d/init.d/fcgiwrap /etc/rc.d/rc3.d/S75fcgiwrap ln -s /etc/rc.d/init.d/fcgiwrap /etc/rc.d/rc4.d/K25fcgiwrap ln -s /etc/rc.d/init.d/fcgiwrap /etc/rc.d/rc4.d/S75fcgiwrap else rm -f /etc/rc.d/rc3.d/K25fcgiwrap /etc/rc.d/rc3.d/S75fcgiwrap /etc/rc.d/rc4.d/K25fcgiwrap /etc/rc.d/rc4.d/S75fcgiwrap fi fi