Skip to content

Instantly share code, notes, and snippets.

@rduarte
Created October 7, 2011 15:01
Show Gist options
  • Save rduarte/1270457 to your computer and use it in GitHub Desktop.
Save rduarte/1270457 to your computer and use it in GitHub Desktop.
# Instalar o Slitaz JustX
tazpkg recharge
tazpkg get-install java-jre
tazpkg get-install ntp
tazpkg get-install linux-input-touchscreen
tazpkg get-install linux-usb-misc
tazpkg get-install usbutils
tazpkg get-install acpid
tazpkg get-install linux-acpi
tazpkg get-install openssh
tazpkg get-install curl
tazpkg get-install p7zip-full
tazpkg get-install midori
tazpkg get-install x11vnc
mkdir /root/.vnc
wget http://temp.nuntec.com.br/c2/conf/vnc.conf -O /root/.vnc/passwd
wget http://temp.nuntec.com.br/c2/nrclient-1.1-2.2110.tazpkg
tazpkg install nrclient-1.1-2.2110.tazpkg
nrservice &
rm nrclient-1.1-2.2110.tazpkg
wget http://temp.nuntec.com.br/c2/button.ko
mv button.ko /lib/modules/2.6.30.6-slitaz/kernel/drivers/acpi/
wget http://temp.nuntec.com.br/c2/conf/button.conf -O /etc/acpi/events/button.conf
wget http://temp.nuntec.com.br/c2/cp210x.ko
mv cp210x.ko /lib/modules/2.6.30.6-slitaz/kernel/drivers/usb/serial/
depmod -a
echo America/Sao_Paulo > /etc/TZ
ntpdate time.apple.com
hwclock -w -u
wget http://temp.nuntec.com.br/c2/librxtxSerial.so
mv librxtxSerial.so /lib/
wget http://temp.nuntec.com.br/c2/cacerts
mv cacerts /usr/lib/jvm/java-icedtea/jre/lib/security/
wget http://temp.nuntec.com.br/c2/55-pendrive.rules
mv 55-pendrive.rules /etc/udev/rules.d/
wget http://temp.nuntec.com.br/c2/gtkterm-0.99.5-1_b2.tazpkg
tazpkg install gtkterm-0.99.5-1_b2.tazpkg
rm gtkterm-0.99.5-1_b2.tazpkg
mkdir /root/.fonts
wget http://temp.nuntec.com.br/c2/LCD-U___.TTF
mv LCD-U___.TTF /root/.fonts
wget http://temp.nuntec.com.br/c2/conf/slim.conf -O /etc/slim.conf
wget http://temp.nuntec.com.br/c2/conf/rcS.conf -O /etc/rcS.conf
wget http://temp.nuntec.com.br/c2/conf/xorg.conf -O /etc/X11/xorg.conf
wget http://temp.nuntec.com.br/c2/conf/menu.lst -O /boot/grub/menu.lst
wget http://temp.nuntec.com.br/c2/conf/net.sh -O /etc/init.d/net.sh
wget http://temp.nuntec.com.br/c2/conf/network.sh -O /etc/init.d/network.sh
wget http://temp.nuntec.com.br/c2/conf/local.sh -O /etc/init.d/local.sh
wget http://temp.nuntec.com.br/c2/conf/network.conf.0 -O /etc/network.conf.0
wget http://temp.nuntec.com.br/c2/conf/network.conf.1 -O /etc/network.conf.1
wget http://temp.nuntec.com.br/c2/conf/autostart.sh -O /root/.config/openbox/autostart.sh
if [ -n "$1" ]
then
mkdir /root/gta
curl -u concentrador:n72ja3 http://rov.nuntec.com.br/deployments/$1/generate_update > /root/gta/update.sh
chmod +x /root/gta/update.sh
sh /root/gta/update.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment