mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
systemd: ensure /storage/.cache exists before writing machine-id
This commit is contained in:
parent
1aa0fdd9e6
commit
60d7aebfdc
@ -36,6 +36,7 @@ fi
|
||||
|
||||
if [ -z "$MACHINEID" ]; then
|
||||
MACHINEID=`echo $MAC_ADDRESS | md5sum | cut -f1 -d" "`
|
||||
mkdir -p /storage/.cache
|
||||
fi
|
||||
|
||||
echo "$MACHINEID" > /storage/.cache/machine-id
|
||||
|
Loading…
x
Reference in New Issue
Block a user