2011/asyn11: vfpga-fix1.sh

File vfpga-fix1.sh, 267 bytes (added by dfasnacht, 7 years ago)
Line 
1#!/bin/bash
2
3if [ "$USER" != "root" ] ; then
4    echo "run with sudo!!!"
5    exit 1
6fi
7
8apt-get -f install portmap libmotif3
9
10cat >/usr/local/bin/runise <<EOT
11#!/bin/bash
12export DISPLAY=:0
13. /opt/xil/13.1/ISE_DS/settings32.sh
14ise
15EOT
16
17chmod 755 /usr/local/bin/runise