mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
init: remove warning when loop node already exist (wetek projects with CONFIG_BLK_DEV_LOOP_MIN_COUNT >0)
This commit is contained in:
parent
f5c8ac208d
commit
3145e182f1
@ -650,7 +650,7 @@
|
|||||||
|
|
||||||
LOOP=$(losetup -f)
|
LOOP=$(losetup -f)
|
||||||
LOOP_NUM=$(echo $LOOP | sed 's|/dev/loop||')
|
LOOP_NUM=$(echo $LOOP | sed 's|/dev/loop||')
|
||||||
mknod $LOOP b 7 $LOOP_NUM
|
mknod $LOOP b 7 $LOOP_NUM &>/dev/null
|
||||||
losetup $LOOP $IMG_FILE
|
losetup $LOOP $IMG_FILE
|
||||||
|
|
||||||
# check for MBR partititon
|
# check for MBR partititon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user