summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-02-10 18:05:06 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-02-10 18:28:51 +0100
commitdd269e0e8b9cf892ddb92043beeb4702efcee014 (patch)
tree48761502b43215c3b00fc8d3ebd1f8fedb022857 /contrib
parent392af943326a275a108377741508ac3d88359da2 (diff)
check-kernel-updates: simple shell script to check for versions of stable kernels
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hrw/check-kernel-updates.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/hrw/check-kernel-updates.sh b/contrib/hrw/check-kernel-updates.sh
new file mode 100644
index 0000000000..389265a057
--- /dev/null
+++ b/contrib/hrw/check-kernel-updates.sh
@@ -0,0 +1,9 @@
+
+echo "fetching list of changelogs"
+#echo "ls ChangeLog-*" |lftp ftp://www.kernel.org/pub/linux/kernel/v2.6/> changes.txt
+
+for release in `seq 16 32`;
+do
+ LATEST=`grep ChangeLog-2.6.$release changes.txt | sed -e "s/^.*ChangeLog-2.6.$release.//g"| sort -n -r|head -n1`
+ echo "latest patch: 2.6.$release.$LATEST"
+done