Package freeradius: Скрипты

Post install

1
2
3
4
5
6
/usr/sbin/post_service radiusd
if [ $1 = 1 ]; then
    if [ ! -e /etc/raddb/certs/server.pem ]; then
        su -s "/bin/sh" -c "/etc/raddb/certs/bootstrap" radiusd > /dev/null 2>&1 || :
    fi
fi
Pre uninstall

/usr/sbin/preun_service radiusd