2 if [ ! "`grep /opt/agns/lib etc/ld.so.conf`" ]; then
3 echo -n "updating /etc/ld.so.conf... "
4 echo "/opt/agns/lib" >> etc/ld.so.conf
7 ln -sf libcurl.so /usr/lib/libcurl.so.3
8 ln -sf libssl.so /usr/lib/libssl.so.6
9 ln -sf libcrypto.so /usr/lib/libcrypto.so.6
11 echo "Remember to add agnLogd and agnclientd daemons to rc.conf file."
19 unlink /usr/lib/libcrypto.so.6
20 unlink /usr/lib/libssl.so.6
21 unlink /usr/lib/libcurl.so.3
22 echo -ne "updating /etc/ld.so.conf... "
23 sed -i -e '/\/opt\/agns\/lib/d' etc/ld.so.conf
27 echo "Remember to remove agnLogd and agnclientd daemons to rc.conf file."