Patches for SuSE init

This commit is contained in:
Michiel Broek 2002-05-10 14:23:24 +00:00
parent 27084921d9
commit 23804d10f1
4 changed files with 22 additions and 3 deletions

View File

@ -4674,6 +4674,8 @@ v0.33.20 10-Feb-2002
Fixed numbering of menu 8.7, edit oneliners.
Added menu 8.8 for safe crackers data. If the safe is cracked
it can now be reset.
Protected convert-all setting in menus 10.1 and 10.2 when no
default archiver is defined.
mbmon:
The top statusbar now displays the bbs Free/Down/Busy status.
@ -4885,4 +4887,5 @@ v0.33.20 10-Feb-2002
installinit.sh
Modified for SuSE 7.1 and later, the location of the startup
script moved from /sbin to /etc. Patch by Joachim Kuwan.
Also modified init.SuSE for Yast on SuSE 8.0

View File

@ -461,7 +461,12 @@ int EditFGrpRec(int Area)
case 26:E_BOOL(11,70, fgroup.Announce, "Set ^Announce files^ in new created tic areas")
case 27:E_BOOL(12,70, fgroup.UpdMagic, "Set ^Update magic^ in new created tic areas")
case 28:E_BOOL(13,70, fgroup.FileId, "Set ^FILE_ID.DIZ extract^ in new created tic areas")
case 29:E_BOOL(14,70, fgroup.ConvertAll, "Set ^Convert All^ setting in new created tic areas")
case 29:tmp = edit_bool(14,70, fgroup.ConvertAll, (char *)"Set ^Convert All^ setting in new created tic areas");
if (tmp && !fgroup.ConvertAll && (strlen(fgroup.Convert) == 0))
errmsg("No archiver configured to convert to, edit 9 first");
else
fgroup.ConvertAll = tmp;
break;
case 30:E_BOOL(15,70, fgroup.SendOrg, "Set ^Send original^ setting in new created tic areas")
case 31:E_SEC( 16,70, fgroup.DLSec, "10.1.31 FILE GROUP DOWNLOAD SECURITY", FgScreen)
case 32:E_SEC( 17,70, fgroup.UPSec, "10.1.32 FILE GROUP UPLOAD SECURITY", FgScreen)

View File

@ -930,7 +930,12 @@ int EditTicRec(int Area)
case 15:E_BOOL(11,55, tic.Announce, "^Announce^ received files");
case 16:E_BOOL(12,55, tic.UpdMagic, "Update files ^magic^ names");
case 17:E_BOOL(13,55, tic.FileId, "Extract ^FILE_ID.DIZ^ from received files");
case 18:E_BOOL(14,55, tic.ConvertAll, "^Convert^ archive always");
case 18:tmp = edit_bool(14,55, tic.ConvertAll, (char *)"^Convert^ archive always");
if (tmp && !tic.ConvertAll && strlen(tic.Convert) == 0)
errmsg("No archiver configured to convert to, edit 8 first");
else
tic.ConvertAll = tmp;
break;
case 19:E_BOOL(15,55, tic.SendOrg, "^Send original^ file to downlinks");
case 20:E_BOOL( 7,77, tic.Mandat, "Is this area ^mandatory^");
case 21:E_BOOL( 8,77, tic.Notified, "Is the sysop ^notified^ if this area is (dis)connected");

View File

@ -3,7 +3,13 @@
# $Id$
#
# /sbin/init.d/mbsed for SuSE
#
### BEGIN INIT INFO
# Provides: mbsed
# Default-Start: 2 3 5
# Default-Stop:
# Description: Start MBSE BBS
### END INIT INFO
# Find the MBSE_ROOT from the /etc/passwd file.
MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print $6}'`