root / config / config-radius.sh @ 65a2d8c1
1 |
#!/bin/sh
|
---|---|
2 |
# Do initial configuration of freeradius
|
3 |
|
4 |
set -e |
5 |
|
6 |
CONF_DIR = '/etc/freeradius' |
7 |
BASEDIR=`dirname $0` |
8 |
|
9 |
service freeradius stop |
10 |
|
11 |
cp "$CONF_DIR/sites-available/default" "$CONF_DIR/sites-available/default.backup" |
12 |
cp "$BASEDIR/radius-default.conf" "$CONF_DIR/sites-available/default" |
13 |
|
14 |
service freeradius start |
15 |
|
16 |
|
17 |
|
18 |
|