Small areamgr/filemgr setup changes

This commit is contained in:
Michiel Broek
2002-10-28 13:57:38 +00:00
parent c8c54ea185
commit 7cd927c877
8 changed files with 240 additions and 182 deletions

View File

@@ -35,6 +35,7 @@
#
HATCHPWD="DizIzMyBIGseeKret"
INBOUND=$MBSE_ROOT/var/inbound
HVERSION="1.0.1"
if [ "`id -un`" != "mbse" ]; then
@@ -78,12 +79,24 @@ do
echo -e "Enter description for $f (empty is skip file)"
echo -n ": "
read DESC
echo -e "Replace filename (empty is none)"
echo -n ": "
read REPL
echo -n "Magic filename (empty is no magic)"
echo -n ": "
read MAGIC
if [ ! -z "$DESC" ]; then
let i=i+1
FILE=$INBOUND/`$MBSE_ROOT/bin/mbseq`.tic
echo "Hatch" > $FILE
echo "Created MBSE BBS hatch script v1.0.0" >> $FILE
echo "Created MBSE BBS hatch script v$HVERSION" >> $FILE
echo "Area $GROUP" >> $FILE
if [ ! -z "$REPL" ]; then
echo "Replaces $REPL" >> $FILE
fi
if [ ! -z "$MAGIC" ]; then
echo "Magic $MAGIC" >> $FILE
fi
echo "Origin $AKA" >> $FILE
echo "From $AKA" >> $FILE
echo "Fullname $f" >> $FILE