mirror of https://github.com/aredn/aredn.git
tunnels: Set tunnel init.d scripts to be executable
Remove the chmod step inside of setup. Came across one time where this didn't trigger. In addition this saves us from using additional storage space on the node as a +x creates a duplicate file.
This commit is contained in:
parent
0aaa6b6204
commit
5cc53dec88
|
@ -215,10 +215,6 @@ sub install_vtun
|
||||||
# allow port 5525 for server connections
|
# allow port 5525 for server connections
|
||||||
open_5525_on_wan();
|
open_5525_on_wan();
|
||||||
|
|
||||||
# enable init.d scripts
|
|
||||||
system("chmod +x /etc/init.d/vtundsrv");
|
|
||||||
system("chmod +x /etc/init.d/vtund");
|
|
||||||
|
|
||||||
# create UCI config file
|
# create UCI config file
|
||||||
system("touch /etc/config/vtun");
|
system("touch /etc/config/vtun");
|
||||||
# create options section
|
# create options section
|
||||||
|
|
Loading…
Reference in New Issue