Skip to content

Commit f947ba2

Browse files
committed
radiusd: prevent RADIUS_SECRET to appear in stdout
1 parent 648ea9a commit f947ba2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

radiusd/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -xe
1+
#!/bin/bash -e
22

33
RADIUS_SECRET=${RADIUS_SECRET:-testing123}
44
sed -i -e "s/__RADIUS_SECRET__/${RADIUS_SECRET}/g" /etc/freeradius/3.0/clients.conf
@@ -9,4 +9,5 @@ else
99
isdebug=
1010
fi
1111

12+
set -x
1213
exec /usr/sbin/freeradius $isdebug -f -lstdout

0 commit comments

Comments
 (0)