[util] format

[util-iso-boot] make plymouth_settings local var
This commit is contained in:
udeved 2015-06-29 11:29:27 +02:00 committed by Philip
parent 4ff1803dac
commit 7277134877
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ write_isolinux_cfg(){
echo '' >> ${conf}
echo "label start" >> ${conf}
echo " kernel /${iso_name}/boot/${arch}/${iso_name}" >> ${conf}
plymouth_settings=" quiet splash"
local plymouth_settings=" quiet splash"
# on openrc, you would want quite initramfs boot, except you want to debug hooks
# quite doesn't affect openrc verbosity, so only splash is useless on openrc
if ! ${plymouth_boot};then

View file

@ -208,7 +208,7 @@ check_root() {
parse_section() {
local is_section=0
while read line; do
[[ $line =~ ^\ {0,}# ]] && continue
[[ $line =~ ^\ {0,}# ]] && continue
[[ -z "$line" ]] && continue
if [ $is_section == 0 ]; then
if [[ $line =~ ^\[.*?\] ]]; then