Don't overwrite airtime.conf if it already exists
This commit is contained in:
parent
6f3b1bc7c2
commit
0aa1ef6e46
1 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,8 @@ AIRTIMEROOT=$SCRIPTPATH/../../
|
|||
|
||||
echo "* Creating /etc/airtime"
|
||||
mkdir -p /etc/airtime
|
||||
#if [ ! -e /etc/airtime/airtime.conf ]; then
|
||||
if [ "$DO_UPGRADE" -eq "0" ]; then
|
||||
#We aren't doing an upgrade so simply overwrite the config files.
|
||||
#if [ "$DO_UPGRADE" -eq "0" ]; then
|
||||
if [ ! -e /etc/airtime/airtime.conf ]; then
|
||||
cp $AIRTIMEROOT/airtime_mvc/build/airtime.conf /etc/airtime
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue