mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
Merge pull request #426 from chewitt/machineid_dir_70
systemd: ensure /storage/.cache exists before writing machine-id (backport of #425)
This commit is contained in:
commit
1190302bb2
@ -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