Project

General

Profile

Bug #8065 ยป rc-mount-sooner.diff

Jim Pingle, 11/07/2017 01:00 PM

View differences:

src/etc/pfSense-rc
52 52

  
53 53
get_version
54 54

  
55
# Read product_name from $g, defaults to pfSense
56
# Use php -n here because we are not ready to load extensions yet
57
product=$(/usr/local/bin/php -n /usr/local/sbin/read_global_var product_name pfSense)
58

  
59 55
# Setup dumpdev/ddb/savecore"
60 56
echo "Configuring crash dumps..."
61 57
/etc/rc.dumpon
62 58

  
63
# Setup ddb on all platforms.
64
if [ ! -z "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then
65
	/sbin/ddb /etc/${product}-ddb.conf
66
fi
67

  
68 59
if [ -e /root/force_growfs ]; then
69 60
	/etc/rc.d/growfs onestart
70 61
fi
......
195 186
	ln -sf ../../root/var/cache/pkg /var/cache/pkg
196 187
fi
197 188

  
189
# Read product_name from $g, defaults to pfSense
190
# Use php -n here because we are not ready to load extensions yet
191
product=$(/usr/local/bin/php -n /usr/local/sbin/read_global_var product_name pfSense)
192

  
193
# Setup ddb on all platforms.
194
if [ ! -z "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then
195
	/sbin/ddb /etc/${product}-ddb.conf
196
fi
197

  
198 198
# Restore contents of the RAM disk store
199 199
/etc/rc.restore_ramdisk_store
200 200

  
    (1-1/1)