mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 08:52:42 +01:00
8c0aac9163
with other BSD based systems. Submitted by: wollman
22 lines
390 B
Plaintext
22 lines
390 B
Plaintext
#
|
|
# site-specific startup actions, daemons
|
|
#
|
|
# $Id: rc.local,v 1.18 1995/03/30 06:26:10 rgrimes Exp $
|
|
#
|
|
|
|
T=/tmp/_motd
|
|
rm -f $T
|
|
uname -v | sed -e 's,^\([^#]*\) #\(.*199[0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T
|
|
echo "" >> $T
|
|
sed '1,/^$/d' < /etc/motd >> $T
|
|
cp $T /etc/motd
|
|
chmod 644 /etc/motd
|
|
rm -f $T
|
|
_HOST=`hostname`
|
|
|
|
echo -n 'starting local daemons:'
|
|
|
|
# put your local stuff here
|
|
|
|
echo '.'
|