mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox: persistent debug logs...
This commit is contained in:
parent
8d0a3f6303
commit
9bed3684ff
@ -32,3 +32,13 @@ progress "mounting needed filesystems"
|
||||
|
||||
mount -n -t tmpfs -o size=10m tmpfs /var
|
||||
mount -n -t debugfs debugfs /sys/kernel/debug
|
||||
|
||||
if [ ! "$RUNLEVEL" = "installer" -a "$DEBUG" = "yes" ]; then
|
||||
mkdir -p $HOME/log
|
||||
ln -sf $HOME/log /var/log
|
||||
else
|
||||
mkdir -p /var/log
|
||||
fi
|
||||
|
||||
touch /var/log/wtmp
|
||||
chmod 1777 /var/log/wtmp
|
||||
|
@ -21,10 +21,8 @@
|
||||
d /var/cache 0755 root root 10d -
|
||||
d /var/lib 0755 root root 10d -
|
||||
d /var/lock 0755 root root 10d -
|
||||
d /var/log 0755 root root 10d -
|
||||
d /var/media 0755 root root 10d -
|
||||
d /var/run 1777 root root 10d -
|
||||
d /var/tmp 1777 root root 10d -
|
||||
|
||||
f /var/run/utmp 1777 root root 10d -
|
||||
f /var/log/wtmp 1777 root root 10d -
|
||||
|
Loading…
x
Reference in New Issue
Block a user