From ea8586549cf62158da0976434420c9db049c154e Mon Sep 17 00:00:00 2001 From: Edouard Vincent Date: Sun, 3 Nov 2024 21:42:59 -0800 Subject: [PATCH] Copy the original transmission UI --- .../run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-transmission-transmission-web-control-install/run b/root/etc/s6-overlay/s6-rc.d/init-mod-transmission-transmission-web-control-install/run index 1444b9bd..9068b691 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-transmission-transmission-web-control-install/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-transmission-transmission-web-control-install/run @@ -3,4 +3,8 @@ printf "/themes/transmission-web-control" > /var/run/s6/container_environment/TRANSMISSION_WEB_HOME +mv /usr/share/transmission/public_html/index.html /usr/share/transmission/public_html/index.original.html +cp -R /usr/share/transmission/public_html/* /themes/transmission-web-control/ +mv /usr/share/transmission/public_html/index.original.html /usr/share/transmission/public_html/index.html + lsiown -R abc:abc /themes