source: npl/commonservers/radius_conf/root/etc/postinst.d/post.radius @ 892871d

Last change on this file since 892871d was ce9f9b3, checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago

Merge branch 'gcc484'

  • Property mode set to 100755
File size: 497 bytes
Line 
1#remove old version (conflicting libs)
2removepkg /var/log/packages/radius-1.1.3-i586-4211 &>/dev/null || true
3removepkg /var/log/packages/radius-2.2.9-i486-6526 &>/dev/null || true
4
5chmod 700 /home/system/radius
6
7#needed to create group
8/sbin/postinst.sh post.openldap
9svcstart /service/slapd/ 
10
11if ! ( getent group | grep "Windows VPN - pptp" &> /dev/null ) ; then
12 #some kind of racecondition makes the groupadd fail
13 sleep 5
14 smbldap-groupadd -g 520 "Windows VPN - pptp" || exit 1;
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.