-f option

This commit is contained in:
Bob Mottram 2016-05-28 19:30:20 +01:00
parent 7ab7458631
commit f4d06bdb83
2 changed files with 5 additions and 5 deletions

View File

@ -3080,7 +3080,7 @@ function install_zeronet {
return return
fi fi
${PROJECT_NAME}-mesh-install zeronet ${PROJECT_NAME}-mesh-install -f zeronet
systemctl daemon-reload systemctl daemon-reload
systemctl start tracker.service systemctl start tracker.service
systemctl start zeronet.service systemctl start zeronet.service
@ -3162,7 +3162,7 @@ function configure_avahi {
return return
fi fi
${PROJECT_NAME}-mesh-install avahi ${PROJECT_NAME}-mesh-install -f avahi
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
echo $'Failed to install avahi' echo $'Failed to install avahi'
exit 68442 exit 68442
@ -3189,7 +3189,7 @@ function mesh_babel {
return return
fi fi
${PROJECT_NAME}-mesh-install babel ${PROJECT_NAME}-mesh-install -f babel
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
echo $'Failed to install babel' echo $'Failed to install babel'
exit 67242 exit 67242

View File

@ -191,8 +191,8 @@ configure_ssh_client
configure_monkeysphere configure_monkeysphere
if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then
echo $'Installing mesh packages' echo $'Installing mesh packages'
${PROJECT_NAME}-mesh-install batman_client ${PROJECT_NAME}-mesh-install -f batman_client
${PROJECT_NAME}-mesh-install babel_client ${PROJECT_NAME}-mesh-install -f babel_client
fi fi
echo $'Configuration complete' echo $'Configuration complete'
exit 0 exit 0