Delete run_raspi-config.sh

This commit is contained in:
Pecusx
2016-10-29 15:29:27 +02:00
committed by GitHub
parent c65d07b62e
commit fe69f0b0e4
-28
View File
@@ -1,28 +0,0 @@
#!/bin/bash
# Radio daemon post install script 2
# $Id: run_raspi-config.sh,v 1.3 2015/01/31 15:42:20 bob Exp $
TYPE=$1 # No instructions before this line
I2C=4 # Uses I2C libraries
CAD=5 # PiFace control and display
echo "The installation will now run the raspi-config cofiguration program!"
echo "When it runs select Advanced options"
if [[ ${TYPE} -eq ${CAD} ]]; then
echo "and enable automatic loading of the SPI kernel module"
elif [[ ${TYPE} -eq ${I2C} ]]; then
echo "and enable automatic loading of the I2C kernel module"
fi
echo -n "Enter y to continue or x to exit: "
read ans
if [[ ${ans} == 'x' ]]; then
echo "Installation stopped"
exit 0
fi
/usr/bin/raspi-config
exit 0