blob: 2cc6f4064bfabcf1c8231a65c3539d5a1762642c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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
for FILE in /usr/local/etc/rc.d/*.sh; do
echo -n " Starting ${FILE}..."
sh $FILE start >>/tmp/bootup_messages 2>&1 &
echo "done."
done
fi
|