If there is a host-specific rc file lurking in /usr/share/misc, execute

it.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
This commit is contained in:
jkh 1995-03-05 22:00:40 +00:00
parent 1d346f4dd3
commit 72a9ad28e2

View File

@ -12,6 +12,7 @@ sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
chmod 644 /etc/motd
rm -f $T
_HOST=`hostname`
echo -n 'starting local daemons:'
@ -38,6 +39,12 @@ if [ X"${nis_clientflags}" != X"NO" ]; then
echo -n ' ypbind'; ypbind $nis_clientflags
fi
# If we've a local rc file, execute it
if [ -x /usr/share/misc/rc.${_HOST} ]; then
echo " local rc for ${_HOST}:"
. /usr/share/misc/rc.${_HOST}
fi
# For loading fonts/keyboard example look in /usr/share/examples/syscons
# directory