dslinux/vendors/Nintendo/common rc.common
stsp
stsp at user.in-berlin.de
Tue Aug 1 16:38:08 CEST 2006
Update of /cvsroot/dslinux/dslinux/vendors/Nintendo/common
In directory antilope:/tmp/cvs-serv7061
Modified Files:
rc.common
Log Message:
Print warning if /etc/rc.conf does not exist.
Give reason if not configuring network, for people who want
or need to know what's going on.
Index: rc.common
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/Nintendo/common/rc.common,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- rc.common 17 Apr 2006 15:53:36 -0000 1.5
+++ rc.common 1 Aug 2006 14:38:06 -0000 1.6
@@ -3,7 +3,12 @@
[ -e /etc/rc.defaults ] && . /etc/rc.defaults
# include overrides
-[ -e /etc/rc.conf ] && . /etc/rc.conf
+if [ -e /etc/rc.conf ]
+then
+ . /etc/rc.conf
+else
+ echo "/etc/rc.conf does not exist on your system - see /etc/rc.defaults"
+fi
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
@@ -18,7 +23,8 @@
__network_up="NO"
fi
else
- echo "Not configuring network."
+ echo "Not configuring network:"
+ echo "enable_network_on_boot is not set to YES"
__network_up="NO"
fi
More information about the dslinux-commit
mailing list