mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
avahi: set root user as default for published sftp
This commit is contained in:
parent
27a56739af
commit
c99f990024
@ -64,6 +64,8 @@ post_makeinstall_target() {
|
||||
sed -e "s,^.*publish-workstation=.*$,publish-workstation=no,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
||||
# browse domains?
|
||||
sed -e "s,^.*browse-domains=.*$,# browse-domains=,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
||||
# set root user as default
|
||||
sed -e "s,<port>22</port>,<port>22</port>\n <txt-record>path=/storage</txt-record>\n <txt-record>u=root</txt-record>,g" -i $INSTALL/etc/avahi/services/sftp-ssh.service
|
||||
|
||||
rm -rf $INSTALL/etc/avahi/avahi-dnsconfd.action
|
||||
rm -rf $INSTALL/etc/avahi/services/ssh.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user