mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 06:36:41 +00:00
Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-systemd
Conflicts: packages/sysutils/udisks/init.d/31_mount-disks
This commit is contained in:
commit
1bcebb86d3
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# automount internal disks
|
# automount internal disks
|
||||||
|
|
||||||
for DEVICE in `find /sys/class/block/sd*/removable`; do
|
for DEVICE in `find /sys/class/block/sd*/removable > /dev/null 2>&1`; do
|
||||||
if [ "$(cat $DEVICE)" = "0" ]; then
|
if [ "$(cat $DEVICE)" = "0" ]; then
|
||||||
DISK=$(echo "$DEVICE" | sed -e "s,/sys/class/block,/dev," -e "s,/removable,,")
|
DISK=$(echo "$DEVICE" | sed -e "s,/sys/class/block,/dev," -e "s,/removable,,")
|
||||||
for PART in $(ls "$DISK"[0-9]*);do
|
for PART in $(ls "$DISK"[0-9]*);do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user