shutup kernel messages during mounting

This commit is contained in:
Tobias Powalowski 2012-08-14 13:48:48 +02:00
parent 4b27c42d26
commit 6eba6bab63

View file

@ -2467,6 +2467,7 @@ mountpoints() {
if [[ "${NAME_SCHEME_PARAMETER_RUN}" = "" ]]; then if [[ "${NAME_SCHEME_PARAMETER_RUN}" = "" ]]; then
set_device_name_scheme || return 1 set_device_name_scheme || return 1
fi fi
printk off
for line in $(cat /tmp/.parts); do for line in $(cat /tmp/.parts); do
PART=$(echo ${line} | cut -d: -f 1) PART=$(echo ${line} | cut -d: -f 1)
FSTYPE=$(echo ${line} | cut -d: -f 2) FSTYPE=$(echo ${line} | cut -d: -f 2)
@ -2497,7 +2498,7 @@ mountpoints() {
fi fi
sleep 1 sleep 1
done done
printk on
DIALOG --msgbox "Partitions were successfully mounted." 0 0 DIALOG --msgbox "Partitions were successfully mounted." 0 0
NEXTITEM="5" NEXTITEM="5"
S_MKFS=1 S_MKFS=1