mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
busybox: mount-filesystem: ensure that /storage/log is a directory
This commit is contained in:
parent
611699b755
commit
448068621c
@ -34,6 +34,7 @@ progress "mounting needed filesystems"
|
|||||||
mount -n -t debugfs debugfs /sys/kernel/debug
|
mount -n -t debugfs debugfs /sys/kernel/debug
|
||||||
|
|
||||||
if [ ! "$RUNLEVEL" = "installer" -a "$DEBUG" = "yes" ]; then
|
if [ ! "$RUNLEVEL" = "installer" -a "$DEBUG" = "yes" ]; then
|
||||||
|
[ ! -d $HOME/log ] && rm -rf $HOME/log &>/dev/null
|
||||||
mkdir -p $HOME/log
|
mkdir -p $HOME/log
|
||||||
ln -sf $HOME/log /var/log
|
ln -sf $HOME/log /var/log
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user