Update update.sh script with user_lang
This commit is contained in:
parent
efe1e3f864
commit
0cbd3ff6b2
@ -50,6 +50,10 @@ elif [ $PWD = "/tmp/tinycheck" ]; then
|
||||
sed -i 's/frontend:/frontend:\n reboot_option: true/g' /usr/share/tinycheck/config.yaml
|
||||
fi
|
||||
|
||||
if ! grep -q user_lang /usr/share/tinycheck/config.yaml; then
|
||||
sed -i 's/frontend:/frontend:\n user_lang: en/g' /usr/share/tinycheck/config.yaml
|
||||
fi
|
||||
|
||||
if ! grep -q shutdown_option /usr/share/tinycheck/config.yaml; then
|
||||
sed -i 's/frontend:/frontend:\n shutdown_option: true/g' /usr/share/tinycheck/config.yaml
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user