mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
reload raspi-config after a user-initiated update
This commit is contained in:
parent
0249c2aa54
commit
f3452fd387
@ -213,8 +213,9 @@ do_boot_behaviour() {
|
|||||||
do_update() {
|
do_update() {
|
||||||
apt-get update &&
|
apt-get update &&
|
||||||
apt-get install raspi-config &&
|
apt-get install raspi-config &&
|
||||||
printf "To start raspi-config again, do 'sudo raspi-config'. Now exiting\n"
|
printf "Sleeping 5 seconds before reloading raspi-config\n" &&
|
||||||
exit 0
|
sleep 5 &&
|
||||||
|
exec raspi-config
|
||||||
}
|
}
|
||||||
|
|
||||||
do_finish() {
|
do_finish() {
|
||||||
|
Loading…
Reference in New Issue
Block a user