The bash script(setup_env.sh) gets written to the target directory when you execute the pybombs sub command ./pybombs env
It's up to you to run it..
But does this install everything needed everything done?
The script could be written to apt-get all the software that is pre needed. Then do what your saying, pause (or auto execute) and then install all the rtl-sdr stuff. The script could test the install with an if command. Even as far as having the digital decoder installed and done. All steps finished.
I have done this in the past to automate installs. I at one time used debian and wrote a scrips to automate the install of debian and shared it with the world. Here is that script:
Code:
#!/bin/sh
#Script to install all your personal software after a base Debian install!
#Comes with no warranty
#You assume all risks!
echo "Please review this file and be sure to make any changes you may need"
echo "You will need to be running as root in order for this to work"
if [ $( whoami ) == "root" ]; then
echo "You are root, let's get started"
else
echo "You are not root! Please run sudo sh script.sh or su and start over!"
exit 0
fi
#If you have any special repositories that need added in order
#for you to get extra software, uncomment these lines
#below and add them below. There will be a backup of
#your sources.list placed in /etc/apt/sources.list.back.
#If you are going to use this feature, please uncomment
#the line below in case of mistakes!
#cp /etc/apt/sources.list /etc/apt/sources.list.back
#This next line can be repeated as many times as
#needed. Just simply copy and paste a new line with
#the new info!
#echo "<put your source here with removed brackets>" >> /etc/apt/sources.list
#In order for apt not to error, you will need to download keyring files for above
#wget "<enter url to download keyring here remove brackets>"
#Then dpkgk the keyrings you download
#dpkg -i <filenames here remove brackets>
{
echo "Would you like to run apt-get update now y/n?"
read a
case "$a" in
y|yes)apt-get update;;
n|no)exit 0;;
esac
}
echo "This next portion of the script will install your packages"
{
echo "Are we ready to install your programs y/n?"
read b
case "$b" in
y|yes)echo "Lets get to work";;
n|no)exit 0;;
esac
}
#This portion needs to be edited to suit your needs, add whatever you like
apt-get install x-window-system hal fluxbox alsa conky nedit iceweasel synaptic mesa-utils audacious alsa-utils alsamixergui
#If you use a light desktop that does not come with a login manager,
#you may use this line below to generate your .xinitrc file so when
#you startx you are dropped to your desktop!
#touch .xinitrc
#echo "exec <put command here remove brackets>" > .xinitrc
exit 0
This could even be edited and used.