#!/bin/sh -xe
sudo ln -sf $PWD/raspi-blacklist.conf /etc/modprobe.d/raspi-blacklist.conf
sudo ln -sf $PWD/modules /etc/modules
sudo ln -sf $PWD/../program-fpga /usr/bin/
sudo ln -sf $PWD/../lcd-message /usr/bin/
sudo ln -sf $PWD/../asic /usr/bin/
sudo ln -sf $PWD/../waas/waas /usr/bin/
sudo ln -sf $PWD/../knc-serial /usr/bin
sudo ln -sf $PWD/../knc-led /usr/bin
sudo ln -sf $PWD/../io-pwr /usr/bin
sudo ln -sf $PWD/../../spi-test/spi-test /usr/bin/
sudo ln -sf $PWD/board-init.sh /usr/bin/
sudo ln -sf $PWD/ioboard.sh /etc/init.d/
sudo ln -sf $PWD/bfgminer.sh /etc/init.d/
sudo ln -sf $PWD/repartition.sh /etc/init.d/
sudo ln -sf $PWD/lcd /etc/dhcp/dhclient-exit-hooks.d/

sudo update-rc.d ioboard.sh defaults
sudo update-rc.d bfgminer.sh defaults
sudo update-rc.d repartition.sh defaults

#!/bin/sh -xe
sudo ln -sf $PWD/raspi-blacklist.conf /etc/modprobe.d/raspi-blacklist.conf
sudo ln -sf $PWD/modules /etc/modules
sudo ln -sf $PWD/../program-fpga /usr/bin/
sudo ln -sf $PWD/../lcd-message /usr/bin/
sudo ln -sf $PWD/../asic /usr/bin/
sudo ln -sf $PWD/../waas/waas /usr/bin/
sudo ln -sf $PWD/../knc-serial /usr/bin
sudo ln -sf $PWD/../knc-led /usr/bin
sudo ln -sf $PWD/../io-pwr /usr/bin
sudo ln -sf $PWD/../../spi-test/spi-test /usr/bin/
sudo ln -sf $PWD/board-init.sh /usr/bin/
sudo ln -sf $PWD/ioboard.sh /etc/init.d/
sudo ln -sf $PWD/bfgminer.sh /etc/init.d/
sudo ln -sf $PWD/repartition.sh /etc/init.d/
sudo ln -sf $PWD/lcd /etc/dhcp/dhclient-exit-hooks.d/
sudo ln -sf $PWD/lcd-loop /usr/bin/
sudo ln -sf $PWD/get_asic_stats.awk /usr/bin/

sudo update-rc.d ioboard.sh defaults
sudo update-rc.d bfgminer.sh defaults
sudo update-rc.d repartition.sh defaults

Install support scripts in /usr/bin
Install support scripts in /usr/bin
