mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
samba:
- /etc/secrets.tdb must be writeable to work, so create /etc/secrets.tdb at /var/run/samba and make an symlink to this file
This commit is contained in:
parent
150c141670
commit
d35bad3a32
@ -7,7 +7,10 @@
|
||||
. /etc/sysconfig
|
||||
|
||||
progress "Starting Samba server"
|
||||
|
||||
|
||||
mkdir -p /var/run/samba
|
||||
touch /var/run/samba/secrets.tdb
|
||||
|
||||
/usr/bin/smbd > /dev/null 2>&1 &
|
||||
|
||||
exit 0
|
||||
|
@ -16,4 +16,6 @@ if [ "$SAMBA_SERVER" = yes ]; then
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/smb.conf $INSTALL/etc/
|
||||
ln -sf /var/run/samba/secrets.tdb $INSTALL/etc/secrets.tdb
|
||||
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user