File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -517,17 +517,6 @@ install-cfg: $(cfg-prefix)/$(cfg-dir)
517
517
mv -f $(cfg-prefix ) /$(cfg-dir )$(NAME ) .cfg.sample \
518
518
$(cfg-prefix ) /$(cfg-dir )$(NAME ) .cfg; \
519
519
fi
520
- # radius dictionary
521
- if [ " $( RADIUSDEPON) " = " yes" ]; then \
522
- $(INSTALL_TOUCH ) \
523
- $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample ; \
524
- $(INSTALL_CFG ) etc/dictionary.opensips \
525
- $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample ; \
526
- if [ ! -f $( cfg-prefix) /$( cfg-dir) /dictionary.opensips ]; then \
527
- mv -f $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample \
528
- $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips; \
529
- fi ; \
530
- fi
531
520
# opensipsctl config
532
521
$(INSTALL_TOUCH ) $(cfg-prefix ) /$(cfg-dir ) /opensipsctlrc.sample
533
522
$(INSTALL_CFG ) scripts/opensipsctlrc \
Original file line number Diff line number Diff line change @@ -8,9 +8,21 @@ include ../../Makefile.defs
8
8
auto_gen =
9
9
NAME =aaa_radius.so
10
10
11
+ ETC_DIR? =../../etc/
12
+
11
13
# Comment the next two line and uncomment the following two if you want
12
14
# to enable Radius support
13
15
DEFS+ = -I$(LOCALBASE ) /include
14
16
LIBS =-L$(LOCALBASE ) /lib $(RADIUS_LIB )
15
17
16
18
include ../../Makefile.modules
19
+
20
+ install_module_custom : $(cfg-prefix ) /$(cfg-dir )
21
+ $(INSTALL_TOUCH ) \
22
+ $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample ; \
23
+ $(INSTALL_CFG ) $(ETC_DIR ) /dictionary.opensips \
24
+ $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample ; \
25
+ if [ ! -f $( cfg-prefix) /$( cfg-dir) /dictionary.opensips ]; then \
26
+ mv -f $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips.sample \
27
+ $(cfg-prefix ) /$(cfg-dir ) /dictionary.opensips; \
28
+ fi ; \
You can’t perform that action at this time.
0 commit comments