freebsd-dev/etc/rc.local
1997-02-23 09:21:14 +00:00

20 lines
392 B
Plaintext

#
# site-specific startup actions, daemons
#
# $Id$
#
T=/tmp/_motd
rm -f $T
uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T
awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T
cp $T /etc/motd
chmod 644 /etc/motd
rm -f $T
echo -n 'starting local daemons:'
# put your local stuff here
echo '.'