]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.local
This commit was generated by cvs2svn to compensate for changes in r41461,
[FreeBSD/FreeBSD.git] / etc / rc.local
1 #
2 # site-specific startup actions, daemons
3 #
4 #       $Id: rc.local,v 1.24 1997/06/25 12:17:17 ache Exp $
5 #
6
7 # If there is a global system configuration file, suck it in.
8 #if [ -f /etc/rc.conf ]; then
9 #       . /etc/rc.conf
10 #fi
11
12 T=/tmp/_motd
13 rm -f $T
14 uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T
15 awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T
16 cp $T /etc/motd
17 chmod 644 /etc/motd
18 rm -f $T
19
20 echo -n 'starting local daemons:'
21
22 # put your local stuff here
23
24 echo '.'