r1797
stsp at dslinux.in-berlin.de
stsp at dslinux.in-berlin.de
Wed Jun 20 11:04:44 CEST 2007
Author: stsp
Date: 2007-06-20 11:04:39 +0200 (Wed, 20 Jun 2007)
New Revision: 1797
Log:
Update rc.defaults and rc.common a little:
Mention wnc in both files, document start_nanox, improve
message printed when rc.conf isn't found on boot, and make
Tim Bisley root instead of Guybrush.
Modified: trunk/vendors/Nintendo/common/rc.common
===================================================================
--- trunk/vendors/Nintendo/common/rc.common 2007-06-19 00:49:52 UTC (rev 1796)
+++ trunk/vendors/Nintendo/common/rc.common 2007-06-20 09:04:39 UTC (rev 1797)
@@ -7,7 +7,10 @@
then
. /etc/rc.conf
else
- echo "/etc/rc.conf does not exist on your system - see /etc/rc.defaults"
+ echo "The file /etc/rc.conf does not exist on your system,"
+ echo "so the default configuration will be used."
+ echo "The file /etc/rc.defaults contains instructions on how"
+ echo "to create /etc/rc.conf to customise your dslinux installation."
fi
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
@@ -17,7 +20,7 @@
if [ ! -f /etc/passwd ]
then
echo "Creating default /etc/passwd"
- echo "root:xxSVJVBe8UDn2:0:0:Guybrush:/home:/bin/sh" > /etc/passwd
+ echo "root:xxSVJVBe8UDn2:0:0:Tim Bisley:/home:/bin/sh" > /etc/passwd
echo "bin:x:1:1:bin:/bin:" >> /etc/passwd
echo "daemon:x:2:2:daemon:/sbin:" >> /etc/passwd
echo "nobody:x:99:99:Nobody:/:" >> /etc/passwd
@@ -35,6 +38,7 @@
else
echo "Not configuring network:"
echo "enable_network_on_boot is set to \"$enable_network_on_boot\""
+ echo "To configure wireless edit /etc/rc.conf or run 'wnc'."
__network_up="NO"
fi
Modified: trunk/vendors/Nintendo/common/rc.defaults
===================================================================
--- trunk/vendors/Nintendo/common/rc.defaults 2007-06-19 00:49:52 UTC (rev 1796)
+++ trunk/vendors/Nintendo/common/rc.defaults 2007-06-20 09:04:39 UTC (rev 1797)
@@ -2,9 +2,10 @@
#
# INSTRUCTIONS
#
+# IMPORTANT: This file is read-only!
# You have to make a copy of this file so you can edit it.
#
-# If you are using the RAM or the RAM-DEVEL build,
+# If you are using the DLDI build,
# run this command to create the copy:
# cp /etc/rc.defaults /media/linux/etc/rc.conf
#
@@ -22,7 +23,7 @@
# NOTE THAT /var/rc.conf WILL NOT BE PRESERVED ACROSS
# REBOOTS ON THE NDS BUILD!
#
-# If you are using the .ds.gba version of DSLinux,
+# If you are using the DSGBA version of DSLinux,
# run this command to create the copy:
# cp /etc/rc.defaults /sram/rc.conf.
# The /sram filesystem needs to be initialised before
@@ -47,6 +48,9 @@
# By default, wireless networking is not started on boot.
# If you want to enable it at boot time, set this flag to "YES".
+# Note that before you enable this you should configure wireless
+# networking. You can either do so further below in this file
+# or use the 'wnc' program to configure wireless automatically.
enable_network_on_boot="NO"
# You can start networking anytime by running:
@@ -118,7 +122,8 @@
# set this to "YES". By default, the firmware version is shown.
show_firmware_version="YES"
-#
+# If you want to start nanoX at boot, set this to "YES".
+# Note that nanoX is not really useful at this point.
start_nanox="NO"
# End of file.
More information about the dslinux-commit
mailing list