2 echo Setting up samba symlinks so webinterface config works
3 [ -e /opt
/sbin
/smbd
] && ln -sf /opt
/sbin
/smbd
/usr
/syno
/sbin
/smbd
4 [ -e /opt
/sbin
/nmbd
] && ln -sf /opt
/sbin
/nmbd
/usr
/syno
/sbin
/nmbd
5 [ ! -d /opt
/etc
/samba
] && mkdir
-p /opt
/etc
/samba
6 [ ! -d /opt
/etc
/private
] && mkdir
-p /opt
/etc
/private
7 ln -sf /writeable
/configs
/usr
/syno
/etc
/smb.conf
/opt
/etc
/samba
/
8 ln -sf /writeable
/configs
/usr
/syno
/etc
/private
/secrets.tdb
/opt
/etc
/samba
/
9 ln -sf /writeable
/configs
/usr
/syno
/etc
/private
/smbpasswd
/opt
/etc
/samba
/