[aadk-commits] dbailey: uClinux/trunk r245 -
/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Fri Mar 16 12:39:06 MST 2007
Author: dbailey
Date: Fri Mar 16 14:39:05 2007
New Revision: 245
URL: http://svn.digium.com/view/aadk?view=rev&rev=245
Log:
changed config switch check so it can delete the configuration data before the congifuration is unpacked
Modified:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc?view=diff&rev=245&r1=244&r2=245
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc Fri Mar 16 14:39:05 2007
@@ -22,6 +22,18 @@
export $CAPABILITY
fi
+modprobe sx00i_cfgswx
+CFGSWX=`cat /proc/cfgswx | grep CFGSWX=1`
+if [ "$CFGSWX" = "CFGSWX=1" ]; then
+ sleep 1
+ CFGSWX=`cat /proc/cfgswx | grep CFGSWX=1`
+ if [ "$CFGSWX" = "CFGSWX=1" ]; then
+ echo "CONFIGURATION RESET Requested ***********************************"
+ reset_config
+ fi
+fi
+echo "Done checking for Configuration Reset"
+
echo -n "Reading config..."
if restore_config; then
echo "Done!"
@@ -38,23 +50,11 @@
modprobe orinoco_cs
modprobe ide-cs
modprobe blackfin_wd
-modprobe sx00i_cfgswx
# mount sysfs to get access to i2c devices
mount -t sysfs none /sys
#mount devpts to allow for use of UNIX98 pty's
mount -t devpts none /dev/pts
-
-CFGSWX=`cat /proc/cfgswx | grep CFGSWX=1`
-if [ "$CFGSWX" = "CFGSWX=1" ]; then
- sleep 1
- CFGSWX=`cat /proc/cfgswx | grep CFGSWX=1`
- if [ "$CFGSWX" = "CFGSWX=1" ]; then
- echo "CONFIGURATION RESET Requested"
- reset_config
- fi
-fi
-echo "Done checking for Configuration Reset"
echo -n "Looking for IP address..."
More information about the aadk-commits
mailing list