You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
455 B
18 lines
455 B
diff --git a/tools/frr.in b/tools/frr.in
|
|
index b860797..eb64a93 100755
|
|
--- a/tools/frr.in
|
|
+++ b/tools/frr.in
|
|
@@ -105,10 +105,12 @@ check_daemon()
|
|
if [ ! -r "$C_PATH/$1-$2.conf" ]; then
|
|
touch "$C_PATH/$1-$2.conf"
|
|
chownfrr "$C_PATH/$1-$2.conf"
|
|
+ chmod 0600 "$C_PATH/$1-$2.conf"
|
|
fi
|
|
elif [ ! -r "$C_PATH/$1.conf" ]; then
|
|
touch "$C_PATH/$1.conf"
|
|
chownfrr "$C_PATH/$1.conf"
|
|
+ chmod 0600 "$C_PATH/$1.conf"
|
|
fi
|
|
fi
|
|
return 0
|