PREIN
/bin/sh
if ! grep -q '^wnn:' /etc/group then /usr/sbin/groupadd wnn if ! grep -q '^wnn:' /etc/passwd then /usr/sbin/useradd -g wnn -M wnn fi fi # without this the shutting down takes forever to reach timeout if ! grep ^jserver /etc/services ; then echo -e "jserver\t22273/tcp" >> /etc/services fi
POSTIN
/bin/sh
/sbin/chkconfig --add jserver cd /usr/lib/wnn/ja_JP/dic/pubdic /usr/bin/Wnn4/wnntouch *.*
POSTUN
/bin/sh
if [ $1 = 0 ]; then /sbin/chkconfig --del jserver fi