gns3-registry/packer/tinycore-linux/scripts/packages.sh
2015-10-15 22:16:38 +02:00

16 lines
402 B
Bash

# Add extensions
set -x
# change tcedir to harddisk
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.bak
ln -s /mnt/sda1/tce /etc/sysconfig/tcedir
rm -rf /usr/local/tce.installed/*
tce-load -wi ipv6-`uname -r` iptables iproute2
echo "modprobe ipv6" >> /opt/bootlocal.sh
echo "sysctl -w net.ipv4.ip_forward=1" >> /opt/bootlocal.sh
echo "sysctl -w net.ipv6.conf.all.forwarding=1" >> /opt/bootlocal.sh