mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
supress unwanted data partition creation message
This commit is contained in:
parent
6043799b04
commit
e072447ea6
@ -30,7 +30,7 @@ case "$1" in
|
|||||||
3
|
3
|
||||||
${data_start}
|
${data_start}
|
||||||
\n
|
\n
|
||||||
w" | /sbin/fdisk $disk_dev 2>&1 >/dev/null | grep -v "Device or resource busy" | grep -v '^$'
|
w" | /sbin/fdisk $disk_dev &>/dev/null
|
||||||
partx -a $disk_dev &>/dev/null
|
partx -a $disk_dev &>/dev/null
|
||||||
test -b $data_dev && msg_done || msg_fail
|
test -b $data_dev && msg_done || msg_fail
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user