Перемонтирование live flash при загрузке в rw

master3.4
parent d38f9efcb3
commit 6aa6ad992e

@ -132,6 +132,7 @@ setup_alsautils() {
}
start() {
local rootflash=`variable_value main.os_root_flash_dev`
local roottype=`variable_value main.os_root_type`
if [[ $roottype != "livecd" ]] || grep -e "video:nvidia" -e "video:fglrx" /proc/cmdline &>/dev/null
then
@ -142,6 +143,7 @@ start() {
LANG=C /usr/sbin/cl-core --method setup_system --no-progress --usenew-conf --live on
LANG=C configure_users
[[ $roottype != "livecd" ]] && /usr/sbin/locale-gen
[[ -n $rootflash ]] && mount -o remount,rw $rootflash
LANG=C /usr/sbin/env-update --no-ldconfig
source /etc/profile

Loading…
Cancel
Save