#!/bin/sh # an installation script for Wnn4.2 check_pw() { if which -s pw; then : else cat < /dev/null` id_wnn=`id -u wnn 2> /dev/null` if [ X"$id_wnn" != X ];then exit 0 elif [ X"$id_69" != X ]; then cat < ${startup_script}; echo "wnn=${wnnserver}" >> ${startup_script}; echo 'if [ -f $wnn ]; then' >> ${startup_script}; echo " echo -n ' ${wnnname}'" >> ${startup_script}; echo ' $wnn' >> ${startup_script}; echo "fi" >> ${startup_script}; chmod 755 ${startup_script}; chown bin.bin ${startup_script}; fi ;; esac