- more speed on startup
This commit is contained in:
Stephan Raue 2009-10-27 02:59:41 +01:00
parent e6d8bf8cf0
commit 76e007a901
6 changed files with 9 additions and 9 deletions

View File

@ -57,9 +57,9 @@
update() {
if [ -f "$UPDATE_DIR/$2" ]; then
echo "updating $1..."
/bin/busybox mount -o remount,rw /flash
/bin/busybox mount -o remount,rw,nobarrier /flash
/bin/busybox mv $UPDATE_DIR/$2 $3
/bin/busybox mount -o remount,ro /flash
/bin/busybox mount -o remount,ro,nobarrier /flash
/bin/busybox sync
if [ $4 = reboot ]; then
echo "System reboots now"
@ -70,8 +70,8 @@
show_splash
mount_part "$BOOT" "/flash" "ro,noatime"
[ -n $DISK ] && mount_part "$DISK" "/storage" "rw,noatime"
mount_part "$BOOT" "/flash" "ro,noatime,nobarrier"
[ -n $DISK ] && mount_part "$DISK" "/storage" "rw,noatime,nobarrier"
# mount_part "$DISK" "/storage" "rw,noatime"
update "Kernel" "openelec.kernel" "/flash/openelec.kernel" "reboot"

View File

@ -12,5 +12,5 @@ ADJTIME=/etc/adjtime
if [ -x /sbin/hwclock ]; then
[ -r ${ADJTIME} ] && ! ( grep -q "LOCAL" ${ADJTIME} || grep -q "UTC" ${ADJTIME} ) && echo "UTC" >>${ADJTIME}
/sbin/hwclock --hctosys -f /dev/rtc
/sbin/hwclock --hctosys -f /dev/rtc &
fi

View File

@ -8,4 +8,4 @@
progress "saving Bootdate"
/bin/date > /tmp/bootdate
/bin/date > /tmp/bootdate &

View File

@ -9,6 +9,6 @@
progress "Starting Syslog daemon"
mkdir -p /var/log
syslogd
syslogd &
exit 0

View File

@ -8,6 +8,6 @@
progress "Starting ACPI daemon"
acpid /dev/input/event* 2>&1 > /dev/null
acpid /dev/input/event* 2>&1 > /dev/null &
exit 0

View File

@ -9,6 +9,6 @@
progress "Starting CRON daemon"
mkdir -p /var/spool/cron/crontabs
crond -S
crond -S &
exit 0