Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
dbceb66d
Commit
dbceb66d
authored
Mar 07, 2019
by
Igor Pecovnik
Browse files
Transmission - enable web interface for local network by default
parent
ad82402e
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-software
View file @
dbceb66d
...
@@ -752,7 +752,11 @@ install_packet "transmission-cli transmission-common transmission-daemon" "Insta
...
@@ -752,7 +752,11 @@ install_packet "transmission-cli transmission-common transmission-daemon" "Insta
# https://forum.armbian.com/index.php?/topic/4017-programs-does-not-start-automatically-at-boot/
# https://forum.armbian.com/index.php?/topic/4017-programs-does-not-start-automatically-at-boot/
sed -e 's/exit 0//g' -i /etc/rc.local
sed -e 's/exit 0//g' -i /etc/rc.local
cat >> /etc/rc.local
<
<"
EOF
"
cat >> /etc/rc.local
<
<"
EOF
"
service
transmission-daemon
restart
service
transmission-daemon
stop
local
A=
(${serverIP//./
})
local
servernetwork=
"${A[0]}.${A[1]}.*.*"
sed
"
s
/\"
rpc-whitelist
\"
:
\"127.0.0.1.
*
/\"
rpc-whitelist
\"
:
\"127.0.0.1,$
servernetwork
\"/"
-i
/
etc
/
transmission-daemon
/
settings.json
service
transmission-daemon
start
exit
0
exit
0
EOF
EOF
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment