Update partialinstall.sh
This commit is contained in:
parent
f475a78b45
commit
b7392fef78
1 changed files with 9 additions and 7 deletions
|
|
@ -12,7 +12,6 @@ sudo apt --yes install git python-pip htop python-numpy python-matplotlib python
|
||||||
|
|
||||||
echo "--- Installing python packages via pip"
|
echo "--- Installing python packages via pip"
|
||||||
sudo pip --no-cache-dir install pyserial configparser flask_googlemaps Flask-BasicAuth --extra-index-url https://www.piwheels.hostedpi.com/simple
|
sudo pip --no-cache-dir install pyserial configparser flask_googlemaps Flask-BasicAuth --extra-index-url https://www.piwheels.hostedpi.com/simple
|
||||||
#echo "we might need some more packages"
|
|
||||||
|
|
||||||
echo "--- Getting executable path"
|
echo "--- Getting executable path"
|
||||||
EXECPATH="`dirname \"$0\"`" # relative
|
EXECPATH="`dirname \"$0\"`" # relative
|
||||||
|
|
@ -38,13 +37,16 @@ sudo systemctl enable CosmicPi-detector.service
|
||||||
sudo systemctl enable CosmicPi-UI.service
|
sudo systemctl enable CosmicPi-UI.service
|
||||||
#the ap was already done
|
#the ap was already done
|
||||||
|
|
||||||
echo "--- changing static ip address to 192.168.12.1 ---"
|
echo "--- changing static ip address to 192.168.12.1 in standalone mode---"
|
||||||
cp -f dhcpcd.conf /etc/dhcpcd.conf
|
cp -f dhcpcd.conf /etc/dhcpcd.conf
|
||||||
|
|
||||||
echo"--- preventing this script from running next reboot ---"
|
#echo"--- preventing this script from running next reboot ---"
|
||||||
chmod +x normalrc.local
|
#chmod +x normalrc.local
|
||||||
sudo cp -f normalrc.local /etc/rc.local
|
#sudo cp -f normalrc.local /etc/rc.local
|
||||||
|
|
||||||
echo "--- Finished setup! Rebooting now ---"
|
echo "--- Finished setup! Rebooting now, when this is done your Cosmic Pi should start working ---"
|
||||||
sleep 10
|
echo "--- To connect go to the IP address assigned by your network to the CosmicPi device, or ---"
|
||||||
|
echo "--- cosmicpi.local if you have the correct type of browser. If you are operating in ---"
|
||||||
|
echo "--- stand-alone mode via the CosmicPi wifi network, go directly to 192.168.12.1 ---"
|
||||||
|
sleep 15
|
||||||
sudo reboot now
|
sudo reboot now
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue