Revision: 5946 http://ipcop.svn.sourceforge.net/ipcop/?rev=5946&view=rev Author: owes Date: 2011-10-15 17:48:16 +0000 (Sat, 15 Oct 2011) Log Message: ----------- Fix the USB test. -f will always fail on a directory.
Modified Paths: -------------- ipcop/trunk/src/rc.d/rc.eagleusbadsl Modified: ipcop/trunk/src/rc.d/rc.eagleusbadsl =================================================================== --- ipcop/trunk/src/rc.d/rc.eagleusbadsl 2011-10-15 14:15:17 UTC (rev 5945) +++ ipcop/trunk/src/rc.d/rc.eagleusbadsl 2011-10-15 17:48:16 UTC (rev 5946) @@ -47,7 +47,7 @@ # See how we were called. case "$1" in start) - if [ ! -f "/sys/bus/usb/devices/usb1" ]; then + if [ ! -d "/sys/bus/usb/devices/usb1" ]; then msg "No USB enabled" exit 1 fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn