mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
19 lines
359 B
Bash
Executable File
19 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Set our operating platform
|
|
PLATFORM=`cat /etc/platform`
|
|
|
|
if [ ! "$PLATFORM" = "cdrom" ]; then
|
|
|
|
echo "Syncing packages..."
|
|
/etc/rc.packages 2>/dev/null
|
|
|
|
echo "Executing rc.d items... "
|
|
for FILE in /usr/local/etc/rc.d/*.sh; do
|
|
echo -n " Stopping ${FILE}..."
|
|
sh $FILE stop >>/tmp/bootup_messages 2>&1
|
|
echo "done."
|
|
done
|
|
fi
|
|
|