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:
Conrad Lara - KG6JEI 2015-05-24 12:30:23 -07:00
parent 0aaa6b6204
commit 5cc53dec88
2 changed files with 1 additions and 5 deletions

0
files/etc/init.d/vtundsrv Normal file → Executable file
View File

View File

@ -215,10 +215,6 @@ sub install_vtun
# allow port 5525 for server connections
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
system("touch /etc/config/vtun");
# create options section
@ -275,4 +271,4 @@ sub addrtoint { return( unpack( "N", pack( "C4", split( /[.]/,$_[0]))))};
sub inttoaddr { return( join( ".", unpack( "C4", pack( "N", $_[0]))))};
#weird uhttpd/busybox error requires a 1 at the end of this file
1
1