This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbsebbs-code-361e3323ef16e6d9c51e83748a5843a3b34b7f64/script/setup.mbse
vbcoen 6a6a253885 Updated mbmon.c & mbsetup.c
Added doc dir. and manual as .pdf
restored deleted files - yep I screwed the pooch.
2015-11-03 20:41:11 +00:00

23 lines
785 B
Bash

#!/bin/sh
#BLURB="Enable/disable MBSE BBS at boot"
#
# System setup script for Slackware
#
# $Id: setup.mbse,v 1.2 2005/02/27 14:31:04 mbse Exp $
#
T_PX=$1
TMP=/var/log/setup/tmp
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then
dialog --title "ENABLE MBSE BBS AT BOOT?" --yesno \
"MBSE BBS is the bulletin board system and Fidonet (r) mailer for Unix." 6 70
if [ $? = 0 ]; then
mkdir -p /etc/rc.d/rc3.d /etc/rc.d/rc4.d
ln -s /etc/rc.d/init.d/mbsed /etc/rc.d/rc3.d/K05mbsed
ln -s /etc/rc.d/init.d/mbsed /etc/rc.d/rc3.d/S95mbsed
ln -s /etc/rc.d/init.d/mbsed /etc/rc.d/rc4.d/K05mbsed
ln -s /etc/rc.d/init.d/mbsed /etc/rc.d/rc4.d/S95mbsed
else
rm -f /etc/rc.d/rc3.d/K05mbsed /etc/rc.d/rc3.d/S95mbsed /etc/rc.d/rc4.d/K05mbsed /etc/rc.d/rc4.d/S95mbsed
fi
fi