#!/bin/sh
cd /tmp/
wget -c http://download.mks.com.pl/download/linux/bazy.link
wget -c `cat bazy.link`/bazy4.tgz
rm bazy.link
tar -xzf bazy4.tgz
chown root.mks -R bazy4
chmod 755 bazy4
chmod 644 bazy4/*
mv -f bazy4/* /usr/local/mks/bazy4/
/etc/rc.d/rc.mks restart
if [ -r /tmp/bazy4.tgz ]; then
rm /tmp/bazy4.tgz
fi
