Author: glen
Date: Thu Apr 24 00:25:30 2008
New Revision: 9718

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
- fix for kernels whose release is "2.6.25_vanilla-1", found by vip`

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions      (original)
+++ rc-scripts/trunk/rc.d/init.d/functions      Thu Apr 24 00:25:30 2008
@@ -156,7 +156,7 @@
                IFS='.'
                set -- $v
                IFS=$old_IFS
-               ver=$3
+               ver=${3%_*}
                while [ ${#ver} -lt 3 ] ; do ver="0$ver" ; done
                ver="$2$ver"
                while [ ${#ver} -lt 6 ] ; do ver="0$ver" ; done
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to