blob: a9ea31c0055867a5214d104ecf4853b1ad6f79b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: INSTALL,v 1.3 2022/07/20 01:19:55 gutteridge Exp $
#
# Create default symlinks in ${PKG_SYSCONFDIR} for enabled modules/sites
#
SITES_ENABLED="default inner-tunnel"
MODS_ENABLED="always attr_filter cache_eap chap date detail detail.log
digest dynamic_clients eap echo exec expiration expr
files linelog logintime mschap ntlm_auth pap passwd preprocess
radutmp realm replicate soh sradutmp totp unix unpack utf8"
case ${STAGE} in
POST-INSTALL)
${ECHO} "Enabling default modules and sites"
${LN} -sf ./mods-config/preprocess/hints @PKG_SYSCONFDIR@/hints
${LN} -sf ./mods-config/preprocess/huntgroups @PKG_SYSCONFDIR@/huntgroups
${LN} -sf ./mods-config/files/authorize @PKG_SYSCONFDIR@/users
for s in ${SITES_ENABLED}; do
${LN} -sf ../sites-available/${s} @PKG_SYSCONFDIR@/sites-enabled/${s}
done
for m in ${MODS_ENABLED}; do
${LN} -sf ../mods-available/${m} @PKG_SYSCONFDIR@/mods-enabled/${m}
done
;;
esac
|