|
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 - download
Length: 1192 (0x4a8) Types: TextFile Notes: UNIX file Names: »conf_lanmux«
└─⟦104d96909⟧ Bits:30004765 SW95718I UNIX LAN Server Rel. 1.1 └─⟦104d96909⟧ UNIX Filesystem └─ ⟦this⟧ »LS/new/usr/admin/menu/packagemgmt/lanmuxmgmt/conf_lanmux«
#ident "@(#)conf_lanmux 1.1, RC International, 90/10/03" #menu# customize LANMUX software #help# #help# conf_lanmux allows you to customize a LANMUX 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\}:.*:.*:.*:.*:.*:.*/nologin$;s/:.*//p' /etc/passwd` if [ -z "${lmxs}" ] then echo "There are no LANMUX's loading from this server" exit 0 fi echo "This is a list of available LANMUX:\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 LANMUX' "Which LANMUX 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 cd $home lmtype= if [ ! -f LANMUX.PRM ] ; then echo $idline | grep RC912 > /dev/null if [ $? -eq 0 ] ; then lmtype=-2 fi fi export lmtype sh -c ' set -e cd $home ./LANMUX.CONF $lmtype 2>/dev/null ' || { echo "Failure attempting to configure ${loginid}" } fi done