POSTIN
/bin/sh
grep -q "^/bin/mksh$" /etc/shells 2>/dev/null || \ echo "/bin/mksh" >> /etc/shells
POSTUN
/bin/sh
if [ ! -x /bin/mksh ]; then sed -e 's@^/bin/mksh$@POSTUNREMOVE@' -e '/^POSTUNREMOVE$/d' -i /etc/shells fi
/bin/sh
grep -q "^/bin/mksh$" /etc/shells 2>/dev/null || \ echo "/bin/mksh" >> /etc/shells
/bin/sh
if [ ! -x /bin/mksh ]; then sed -e 's@^/bin/mksh$@POSTUNREMOVE@' -e '/^POSTUNREMOVE$/d' -i /etc/shells fi