mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Update install_yunohostv2
This commit is contained in:
parent
518ad160fd
commit
e4fac87312
1 changed files with 15 additions and 2 deletions
|
@ -152,8 +152,21 @@ then
|
|||
service iptables start
|
||||
service nscd restart
|
||||
service nslcd restart
|
||||
IP=$(/sbin/ifconfig | sed '/Bcast/!d' | awk '{print $2}' | sed 's/.*\://')
|
||||
whiptail --title "Yunohost Installation" --msgbox "Installation success\n Connect to http://$IP:6767 for finish installation" 8 78
|
||||
echo -e "\n"
|
||||
read -p "Proceed to post-installation? (y/n) " -n 1
|
||||
RESULT=1
|
||||
while [ $RESULT -gt 0 ]; do
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
exit 0
|
||||
fi
|
||||
echo -e "\n"
|
||||
/usr/bin/yunohost tools postinstall
|
||||
let RESULT=$?
|
||||
if [ $RESULT -gt 0 ]; then
|
||||
echo -e "\n"
|
||||
read -p "Retry? (y/n) " -n 1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue