summaryrefslogtreecommitdiffstats
path: root/etc/rc.start_packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-06 23:30:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-06 23:30:16 +0000
commitc1f46b20c9e296053c002227c9e9092866df2005 (patch)
treec93e1d52bf69c3ca287b8828809290ca286d982b /etc/rc.start_packages
parent0544c27a35a544b45c5a8c76796f91773f771486 (diff)
downloadpfsense-c1f46b20c9e296053c002227c9e9092866df2005.zip
pfsense-c1f46b20c9e296053c002227c9e9092866df2005.tar.gz
Stop packages before restarting.
Diffstat (limited to 'etc/rc.start_packages')
-rwxr-xr-xetc/rc.start_packages6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages
index 1b913ed..adc2f1e 100755
--- a/etc/rc.start_packages
+++ b/etc/rc.start_packages
@@ -9,7 +9,11 @@ if [ ! "$PLATFORM" = "cdrom" ]; then
/etc/rc.packages 2>/dev/null
echo "Executing rc.d items... "
-
+ for FILE in /usr/local/etc/rc.d/*.sh; do
+ echo -n " Starting ${FILE}..."
+ sh $FILE stop >>/tmp/bootup_messages 2>&1 &
+ echo "done."
+ done
for FILE in /usr/local/etc/rc.d/*.sh; do
echo -n " Starting ${FILE}..."
sh $FILE start >>/tmp/bootup_messages 2>&1 &
OpenPOWER on IntegriCloud