2015-10-06 12:50:43 +00:00
|
|
|
# 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/*
|
|
|
|
|
|
|
|
# openssh (optional)
|
|
|
|
tce-load -wi openssh
|
2015-10-07 07:33:56 +00:00
|
|
|
[ -f /usr/local/etc/ssh/ssh_config.example ] && sudo cp -a /usr/local/etc/ssh/ssh_config.example /usr/local/etc/ssh/ssh_config
|
|
|
|
[ -f /usr/local/etc/ssh/sshd_config.example ] && sudo cp -a /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_config
|
2015-10-06 12:50:43 +00:00
|
|
|
echo 'usr/local/etc/ssh' >> /opt/.filetool.lst
|
2015-10-07 07:33:56 +00:00
|
|
|
echo '/usr/local/etc/init.d/openssh start' >> /opt/bootlocal.sh
|
2015-10-06 12:50:43 +00:00
|
|
|
|
|
|
|
tce-load -wi ipv6-`uname -r` iptables iproute2
|
|
|
|
tce-load -wi tcpdump
|
|
|
|
tce-load -wi iperf3
|
|
|
|
|