$ gzip -dc ../initrd.img | cpio -i -d -H newc --no-absolute-filenamesPack:
$ find . -print | cpio -o -H newc | gzip -9 > ../initrd.img
$ gzip -dc ../initrd.img | cpio -i -d -H newc --no-absolute-filenames$ find . -print | cpio -o -H newc | gzip -9 > ../initrd.img
BATTERY_DEVICE=$(hal-find-by-property --key info.category --string battery | head -n 1)if test -z "${BATTERY_DEVICE}" ; thenBATTERY=0elseBATTERY=$(hal-get-property --udi ${BATTERY_DEVICE} --key battery.charge_level.percentage)fiecho " ${BATTERY}% "
cd /usr/src
wget http://www.tux.org/pub/x/ftp.hungry.com/chrpath/chrpath-0.13.tar.gz
tar -zxvf chrpath-0.13.tar.gz
cd chrpath-0.13
./configure && make
cd /opt
ln -s VirtualBox V
cd VirtualBox/
/usr/src/chrpath-0.13/chrpath -r /opt/V *.sonetsh wlan set hostednetwork mode=allow ssid=MEUSSID key=MINHAKEYnetsh wlan start hostednetworknetsh wlan show hostednetwork
echo $X | egrep '^[0-9]+$' >/dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo "Postive integer here...."
else
echo "Something else...."
fi