All pastes #607622 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-07 19:30 UTC
rendered paste body
#!/bin/sh

#
apt-get update
apt-get install binutils
# Install Kernel Source
apt-get install linux-source-$(echo $(uname -r) | cut -d'-' -f1)
cd /usr/src
tar -jxvf linux-source-*tar.bz2
ln -s linux-source-2.6.18 linux
# Install Kernel Headers
apt-get install linux-headers-$(uname -r)
reboot



I pretty much got it how i want it, however I would like to tweak the ln -s linux-source part out, or maybe I don't even need to worry about that 1 eh? .. I did figure out what i had to do for the tar , on my own :)