From c793ecbb94fa2f77f79a10b69b9a8d247a2987cf Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 11 Feb 2010 21:32:08 +0100 Subject: [PATCH] busybox: - cache xbmc at boot --- packages/sysutils/busybox/config/busybox.conf | 2 +- packages/sysutils/busybox/scripts/init | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/busybox/config/busybox.conf b/packages/sysutils/busybox/config/busybox.conf index 596ca405cf..a2c12b6b4c 100644 --- a/packages/sysutils/busybox/config/busybox.conf +++ b/packages/sysutils/busybox/config/busybox.conf @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Busybox version: 1.16.0 -# Sat Jan 30 23:05:42 2010 +# Thu Feb 11 06:30:36 2010 # CONFIG_HAVE_DOT_CONFIG=y diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 0107ce77ed..87bd0cc6da 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -26,6 +26,9 @@ HOSTNAME="openelec" install -m 1777 -d /var/tmp install -m 755 -d /var/run/sepermit # for LinuxPAM +# caching xbmc + [ "$XBMC_CACHING" = "yes" ] && cache_xbmc & + # bring lo up, whether we have network card or not ifconfig lo 127.0.0.1 up @@ -33,7 +36,7 @@ HOSTNAME="openelec" echo -e "127.0.0.1\tlocalhost $HOSTNAME" > /var/run/hosts # starting Xorg - [ ! "$TEXTMODE" = "yes" ] && start_xorg + [ ! "$TEXTMODE" = "yes" ] && start_xorg & # copying config into storage mkdir -p $HOME/.config