#!/bin/sh
# Figure out kernel source version & you server location, echo string to install
# Written by Colin McNamara 10/27/2006
# http://www.2cups.com
# “The impossible we do difficult we do immidiatly, the impossible just takes a little longer.”
KERNELVER=`uname -r | sed ’s/-smp//g; s/-bigsmp//g’`
PLATFORM=`uname -i`
YOUSERVER=`cat /var/lib/YaST2/you/config | grep LastServer= | sed ’s/LastServer=”//g; s/;;”//g’`
YOU64=$YOUSERVER/$PLATFORM/update/SUSE-CORE/9/rpm/x86_64
YOU32=$YOUSERVER/$PLATFORM/update/SUSE-CORE/9/rpm/i586
if [[ `uname -i` = x86_64 ]]; then
echo $YOU64/kernel-source-$KERNELVER.x86_64.rpm
else
echo $YOU32/kernel-source-$KERNELVER.i586.rpm
fi
Copyright ©2008 | Colin McNamara | CCIE 18233 | All Rights Reserved”






1 response so far ↓
1 Protecting the integrity of the CCIE lab - Verbal Interviews being tested | WCZone Web Design! | Akron Ohio Website Design - Akron Web Development, Cleveland Web Design, Business Website,Web Programming, Akron, Summit County - Services Cuyahoga Falls Webs // Aug 31, 2008 at 6:46 am
[...] Why does SUSE linux make it so rough? (0) [...]
You must log in to post a comment.