Skip to content

Commit

Permalink
rc: fix annoying MOTD/console menu gap and update copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 2, 2015
1 parent 58899e5 commit ed6c71d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/etc/rc.initial
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/sh

# part of pfSense by Scott Ullrich
# Copyright (C) 2004-2011 Scott Ullrich, All rights reserved.
# originally based on m0n0wall (http://neon1.net/m0n0wall)
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# Copyright (c) 2014-2015 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2004-2011 Scott Ullrich <sullrich@gmail.com>
# Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>
# All rights reserved.

# make sure the user can't kill us
Expand All @@ -24,11 +23,12 @@ if [ -n "${*}" ]; then
exit ${?}
fi


# endless loop
while : ; do

# If we are on the LiveCD advertise the installer
echo

# If we are on the install media advertise that fact
if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
rmdir ${_tmpdir}
else
Expand Down Expand Up @@ -103,6 +103,5 @@ case ${opmode} in
esac

/usr/local/etc/rc.initial.banner
echo

done

0 comments on commit ed6c71d

Please sign in to comment.