PREUN
/bin/sh
[ $1 -eq 0 ] || exit 0 /sbin/service afs stop /sbin/chkconfig --del afs [ -d /afs ] && rmdir /afs :
POSTIN
/bin/sh
chkconfig --list afs > /dev/null 2>&1 || { /sbin/chkconfig --add afs /sbin/chkconfig --level 345 afs off } [ -d /afs ] || { mkdir /afs chown root.root /afs chmod 0755 /afs } :