]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.local
This commit was generated by cvs2svn to compensate for changes in r26801,
[FreeBSD/FreeBSD.git] / etc / rc.local
1 #
2 # site-specific startup actions, daemons
3 #
4 #       $Id$
5 #
6
7 T=/tmp/_motd
8 rm -f $T
9 uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T
10 awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T
11 cp $T /etc/motd
12 chmod 644 /etc/motd
13 rm -f $T
14
15 echo -n 'starting local daemons:'
16
17 # put your local stuff here
18
19 echo '.'