[commit] r2311 - in trunk/vendors/Nintendo/common: . rc.d
dslinux_sonny_jim at dslinux.in-berlin.de
dslinux_sonny_jim at dslinux.in-berlin.de
Fri Jul 25 18:25:09 CEST 2008
Author: dslinux_sonny_jim
Date: Fri Jul 25 18:25:09 2008
New Revision: 2311
Log:
Update script for DSLinux. Relies on Kineox but can be changed with in /etc/rc.conf
Added:
trunk/vendors/Nintendo/common/rc.d/update
Modified:
trunk/vendors/Nintendo/common/rc.common
trunk/vendors/Nintendo/common/rc.defaults
Modified: trunk/vendors/Nintendo/common/rc.common
==============================================================================
--- trunk/vendors/Nintendo/common/rc.common (original)
+++ trunk/vendors/Nintendo/common/rc.common Fri Jul 25 18:25:09 2008
@@ -121,6 +121,18 @@
echo "Not starting esd: network is down"
fi
fi
+
+# Check for update if specified
+if [ "$check_update" = "YES" ]
+then
+ if [ "$__network_up" = "YES" ]
+ then
+ echo "Checking for update"
+ /etc/rc.d/update check
+ else
+ echo "Not checking for update: network is down"
+ fi
+fi
# set hostname
hostname $hostname
Modified: trunk/vendors/Nintendo/common/rc.defaults
==============================================================================
--- trunk/vendors/Nintendo/common/rc.defaults (original)
+++ trunk/vendors/Nintendo/common/rc.defaults Fri Jul 25 18:25:09 2008
@@ -164,4 +164,7 @@
# font="/usr/share/consolefonts/alt-8x8.psf"
font=""
+# To check for updates from Kineox on boot, change to "YES"
+check_update="NO"
+
# End of file.
More information about the dslinux-commit
mailing list