|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U c
Length: 1047 (0x417)
Types: TextFile
Notes: UNIX file
Names: »confrc911«
└─⟦6c3d40b06⟧ Bits:30004150 SW95702I LANCOM 2.1
└─⟦6c3d40b06⟧ UNIX Filesystem
└─⟦this⟧ »LM/new/usr/admin/menu/packagemgmt/RC911mgmt/confrc911«
#ident "%W% %E% %U% FK"
#menu# customize the RC911 software
#help#
#help# confrc911 allows you to costomize the RC911 wich is
#help# loading from this server.
flags="-qq -k$$"
trap 'exit 0' 1 2 15
while :
do
lmxs=`sed -n -e '\;^lm[0-9a-f]\{6\}:.*:.*:.*:.*:.*:/etc/nologin$;s/:.*//p' /etc/passwd`
if [ -z "${lmxs}" ]
then
echo "There are no RC911's loading from this server"
exit 0
fi
echo "This is a list of available RC911:\n"
echo "${lmxs}" | pr -o4 -t -5
echo
loginid=`checklist ${flags} -fetp -H'
This allows you to configure which terminals and
printers there are connected to a RC911 LANMUX' "Which RC911 do your wish to configure [?,q]" ${lmxs}`
idline=`grep "^${loginid}:" /etc/passwd`
if [ -z "${idline}" ]
then
admerr $0 "${loginid} not found in /etc/passwd"
exit 1
else
home=`echo "${idline}" | cut -d: -f6`
export home
sh -c '
set -e
cd $home
./LANMUX.CONF 2>/dev/null
rm -f LANMUX.PRM
ln LANMUX.PARM LANMUX.PRM
' || {
echo "Failure attempting to configure ${loginid}"
}
fi
done