summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-09 00:43:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-09 00:43:04 +0000
commite5cd29a013f381b624cb0c14fa6f0bfc91afb012 (patch)
treebe3ef3c403ee036d7a4d05d965657a5df7f1876d /etc/rc
parent7103e9e662bff420374ffe681d6234da56cec961 (diff)
downloadpfsense-e5cd29a013f381b624cb0c14fa6f0bfc91afb012.zip
pfsense-e5cd29a013f381b624cb0c14fa6f0bfc91afb012.tar.gz
convert name to pfSense, keep m0n0wall credits
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc15
1 files changed, 8 insertions, 7 deletions
diff --git a/etc/rc b/etc/rc
index 3020a53..6822844 100755
--- a/etc/rc
+++ b/etc/rc
@@ -1,8 +1,9 @@
#!/bin/sh
-# /etc/rc
-# part of m0n0wall (http://neon1.net/m0n0wall)
-#
+# /etc/rc - master bootup script, invokes php setup
+# part of pfSense by Scott Ullrich
+# Copyright (C) 2004 Scott Ullrich, All rights reserved.
+# originally based on m0n0wall (http://neon1.net/m0n0wall)
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
@@ -15,6 +16,10 @@ HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH
+echo
+echo "Starting pfSense ..."
+echo
+
/sbin/mount -a || fsck -y && mount -a
set -T
@@ -45,10 +50,6 @@ cd /var/run && cp /dev/null utmp && chmod 644 utmp
# Run ldconfig
/sbin/ldconfig -elf /usr/lib
-echo
-echo "Starting pfSense ..."
-echo
-
# let the PHP-based configuration subsystem set up the system now
/etc/rc.bootup
OpenPOWER on IntegriCloud