local
This commit is contained in:
parent
4fccf12c69
commit
0e3cc7e07a
|
@ -111,7 +111,11 @@ fi
|
||||||
|
|
||||||
echo 'Making customised customisation script'
|
echo 'Making customised customisation script'
|
||||||
TEMP_CUSTOMISE=/etc/freedombone/image-customise
|
TEMP_CUSTOMISE=/etc/freedombone/image-customise
|
||||||
sudo cp /usr/local/bin/freedombone-image-customise $TEMP_CUSTOMISE
|
if [ -f /usr/local/bin/freedombone-image-customise ]; then
|
||||||
|
sudo cp /usr/local/bin/freedombone-image-customise $TEMP_CUSTOMISE
|
||||||
|
else
|
||||||
|
sudo cp /usr/bin/freedombone-image-customise $TEMP_CUSTOMISE
|
||||||
|
fi
|
||||||
sudo sed -i "s|MY_USERNAME=.*|MY_USERNAME=${MY_USERNAME}|g" $TEMP_CUSTOMISE
|
sudo sed -i "s|MY_USERNAME=.*|MY_USERNAME=${MY_USERNAME}|g" $TEMP_CUSTOMISE
|
||||||
sudo sed -i "s|MY_PASSWORD=.*|MY_PASSWORD=${MY_PASSWORD}|g" $TEMP_CUSTOMISE
|
sudo sed -i "s|MY_PASSWORD=.*|MY_PASSWORD=${MY_PASSWORD}|g" $TEMP_CUSTOMISE
|
||||||
sudo sed -i "s|ROUTER_IP_ADDRESS=.*|ROUTER_IP_ADDRESS=${ROUTER_IP_ADDRESS}|g" $TEMP_CUSTOMISE
|
sudo sed -i "s|ROUTER_IP_ADDRESS=.*|ROUTER_IP_ADDRESS=${ROUTER_IP_ADDRESS}|g" $TEMP_CUSTOMISE
|
||||||
|
|
Loading…
Reference in New Issue