mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/functions: ln -sf is not always thread safe
This commit is contained in:
parent
6e69cd582f
commit
0e5401939e
@ -1192,7 +1192,7 @@ add_user() {
|
||||
|
||||
mkdir -p ${INSTALL}/usr/cache
|
||||
touch ${INSTALL}/usr/cache/shadow
|
||||
ln -sf /storage/.cache/shadow ${INSTALL}/etc/shadow
|
||||
ln -sf /storage/.cache/shadow ${INSTALL}/etc/shadow 2>/dev/null || true
|
||||
|
||||
PASSWORD="$2"
|
||||
if [ "$PASSWORD" = "x" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user