|
|
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 e
Length: 798 (0x31e)
Types: TextFile
Names: »etc/bcheckrc «
└─⟦ff5a9a1ac⟧ Bits:30004042/core3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦this⟧ »etc/bcheckrc «
# ***** This file has those commands necessary to check the file
# system, date, and anything else that should be done before mounting
# the file systems.
#! chmod +x ${file}
rootfs=/dev/root
/etc/fsstat ${rootfs} >/dev/null 2>&1
if [ $? -ne 0 ]
then
/etc/dumpsave
echo "
fsstat: root file system needs checking
The root file system (${rootfs}) is being checked automatically."
/etc/fsck -y -D -b ${rootfs}
fi
trap "" 2
# **** Check date
. /etc/TIMEZONE
while :
do
if [ -x /etc/getclk ]
then
newdate=`/etc/getclk`
if [ $? -eq 0 ]
then
date "$newdate"
break
fi
fi
echo "Is the date `date` correct? (y or n) \c"
read reply
if
[ "$reply" = y ]
then
break
else
echo "Enter the correct date (MMDDhhmm[YY]): \c"
read reply
date "$reply"
fi
done