PREUN
/bin/sh
for f in \ /usr/bin/scponly \ /usr/sbin/scponlyc \ ; do /bin/grep -q "^$f\$" /etc/shells || continue /bin/grep -v "^$f\$" /etc/shells > /etc/shells.uninstall_scponly /bin/cat /etc/shells.uninstall_scponly > /etc/shells /bin/rm -f /etc/shells.uninstall_scponly done
POSTIN
/bin/sh
for f in \ /usr/bin/scponly \ /usr/sbin/scponlyc \ ; do /bin/grep -q "^$f\$" /etc/shells && continue echo $f >> /etc/shells done