git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
13014e3
)
Fwknop: Set correct file permissions when generating config files
author
Jonathan Bennett
<redacted>
Wed, 17 Aug 2016 04:08:00 +0000
(23:08 -0500)
committer
Jonathan Bennett
<redacted>
Wed, 17 Aug 2016 15:18:23 +0000
(10:18 -0500)
Signed-off-by: Jonathan Bennett <redacted>
net/fwknop/files/fwknopd.init
patch
|
blob
|
history
diff --git
a/net/fwknop/files/fwknopd.init
b/net/fwknop/files/fwknopd.init
index 94c426c4780ae78587f51c290c1237a802e79a5e..c342c20b29fff37174f059dda0ead306dd1e6ff6 100644
(file)
--- a/
net/fwknop/files/fwknopd.init
+++ b/
net/fwknop/files/fwknopd.init
@@
-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
}
git clone https://git.99rst.org/PROJECT