mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[fix] On rpi reboot before postinstall
This commit is contained in:
parent
fc568f1f30
commit
db45db77a2
1 changed files with 5 additions and 5 deletions
|
@ -513,6 +513,11 @@ if [[ "$BUILD_IMAGE" == "1" ]] ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if is_raspbian ; then
|
||||||
|
# Reboot should be done before postinstall to be able to run iptables rules
|
||||||
|
reboot
|
||||||
|
fi
|
||||||
|
|
||||||
if ! step post_install ; then
|
if ! step post_install ; then
|
||||||
die "Post-installation failed" 13
|
die "Post-installation failed" 13
|
||||||
fi
|
fi
|
||||||
|
@ -520,9 +525,4 @@ fi
|
||||||
|
|
||||||
# Success !
|
# Success !
|
||||||
success
|
success
|
||||||
|
|
||||||
if is_raspbian ; then
|
|
||||||
reboot
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue