This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fwknop: Set correct file permissions when generating config files
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
lilik-openwrt-22.03
Jonathan Bennett
8 years ago
parent
13014e3633
commit
f2e1de58e6
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
net/fwknop/files/fwknopd.init
+ 2
- 0
net/fwknop/files/fwknopd.init
View File
@ -53,6 +53,8 @@ gen_confs()
if [ "$option" = "uci_enabled" ] && [ "$value" -eq 1 ] ; then
> /etc/fwknop/fwknopd.conf
> /etc/fwknop/access.conf
chmod 600 /etc/fwknop/fwknopd.conf
chmod 600 /etc/fwknop/access.conf
UCI_ENABLED=1
fi
}
Write
Preview
Loading…
Cancel
Save