kopia lustrzana https://github.com/cyoung/stratux
rodzic
6a9f1ff8e6
commit
db130aab76
|
@ -0,0 +1,21 @@
|
||||||
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
|
||||||
|
# Note: PS1 and umask are already set in /etc/profile. You should not
|
||||||
|
# need this unless you want different defaults for root.
|
||||||
|
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
|
||||||
|
# umask 022
|
||||||
|
|
||||||
|
# You may uncomment the following lines if you want `ls' to be colorized:
|
||||||
|
# export LS_OPTIONS='--color=auto'
|
||||||
|
# eval "`dircolors`"
|
||||||
|
# alias ls='ls $LS_OPTIONS'
|
||||||
|
# alias ll='ls $LS_OPTIONS -l'
|
||||||
|
# alias l='ls $LS_OPTIONS -lA'
|
||||||
|
#
|
||||||
|
# Some more alias to avoid making mistakes:
|
||||||
|
# alias rm='rm -i'
|
||||||
|
# alias cp='cp -i'
|
||||||
|
# alias mv='mv -i'
|
||||||
|
export PATH=/root/go/bin:${PATH}
|
||||||
|
export GOROOT=/root/go
|
||||||
|
export GOPATH=/root/go_path
|
|
@ -60,9 +60,7 @@ cp -f ../linux-mpu9150/libimu.so mnt/usr/lib/libimu.so
|
||||||
|
|
||||||
#go1.5.1 setup
|
#go1.5.1 setup
|
||||||
cp -rf /root/go mnt/root/
|
cp -rf /root/go mnt/root/
|
||||||
##echo export PATH=/root/go/bin:\$\{PATH\} >>mnt/root/.bashrc
|
cp -f bashrc.txt mnt/root/.bashrc
|
||||||
##echo export GOROOT=/root/go >>mnt/root/.bashrc
|
|
||||||
##echo export GOPATH=/root/go_path >>mnt/root/.bashrc
|
|
||||||
|
|
||||||
#rtl-sdr setup
|
#rtl-sdr setup
|
||||||
cp -f rtl-sdr-blacklist.conf mnt/etc/modprobe.d/
|
cp -f rtl-sdr-blacklist.conf mnt/etc/modprobe.d/
|
||||||
|
|
|
@ -24,6 +24,7 @@ cp -r web work/bin/
|
||||||
cp image/hostapd.conf work/bin/
|
cp image/hostapd.conf work/bin/
|
||||||
cp image/config.txt work/bin/
|
cp image/config.txt work/bin/
|
||||||
cp image/rtl-sdr-blacklist.conf work/bin/
|
cp image/rtl-sdr-blacklist.conf work/bin/
|
||||||
|
cp image/bashrc.txt work/bin/
|
||||||
|
|
||||||
#TODO: librtlsdr.
|
#TODO: librtlsdr.
|
||||||
cd work/
|
cd work/
|
||||||
|
|
|
@ -18,6 +18,9 @@ cp -f config.txt /boot/config.txt
|
||||||
#modprobe.d blacklist
|
#modprobe.d blacklist
|
||||||
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
|
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
|
||||||
|
|
||||||
|
#go setup
|
||||||
|
cp -f bashrc.txt /root/.bashrc
|
||||||
|
|
||||||
cp -f dump1090 /usr/bin/
|
cp -f dump1090 /usr/bin/
|
||||||
|
|
||||||
# Web files install.
|
# Web files install.
|
||||||
|
|
Ładowanie…
Reference in New Issue