*-linux*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d ../rc6.d";;
*-solaris*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d ../rcS.d";;
*sysv4.2uw2*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";;
- *-UnixWare-*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";;
+ *-UnixWare*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";;
*) DIR_SYSVINITSTOP="../rc0.d";;
esac
fi
case $TARGET in
*-hpux*) NAME_SYSVINITSTART="S905hylafax" ;;
*-linux*) NAME_SYSVINITSTART="S97hylafax" ;;
- *-sco3.2v4*) NAME_SYSVINITSTART="S80hylafax" ;;
*-sco3.2v5*) NAME_SYSVINITSTART="S90hylafax" ;;
- *-solaris*) NAME_SYSVINITSTART="S80hylafax" ;;
- *-univel*) NAME_SYSVINITSTART="S80hylafax" ;;
- *sysv4.2uw2*) NAME_SYSVINITSTART="S80hylafax" ;;
- *-UnixWare-*) NAME_SYSVINITSTART="S80hylafax" ;;
- *) NAME_SYSVINITSTART="S80fax" ;;
+ *) NAME_SYSVINITSTART="S80hylafax" ;;
esac
fi
if [ -z "$NAME_SYSVINITSTOP" ]; then
case $TARGET in
*-hpux*) NAME_SYSVINITSTOP="K095hylafax" ;;
- *-linux*) NAME_SYSVINITSTOP="K05hylafax" ;;
- *-sco3.2v4*) NAME_SYSVINITSTOP="K05hylafax" ;;
- *-sco3.2v5*) NAME_SYSVINITSTOP="K05hylafax" ;;
*-solaris*) NAME_SYSVINITSTOP="K20hylafax" ;;
- *-univel*) NAME_SYSVINITSTOP="K05hylafax" ;;
- *sysv4.2uw2*) NAME_SYSVINITSTOP="K05hylafax" ;;
- *-UnixWare-*) NAME_SYSVINITSTOP="K05hylafax" ;;
- *) NAME_SYSVINITSTOP="K80fax" ;;
+ *) NAME_SYSVINITSTOP="K05hylafax" ;;
esac
fi
fi
+# now to keep from breaking etc/Makefile
+if [ -z "$DIR_SYSVINITSTART" ]; then
+ DIR_SYSVINITSTART="dir_sysvinitstart_set_to_non_null_string"
+fi
+if [ -z "$DIR_SYSVINITSTOP" ]; then
+ DIR_SYSVINITSTOP="dir_sysvinitstop_set_to_non_null_string"
+fi
+
Note "Done selecting programs."
#
if [ "@SYSVINIT@" = yes ]; then \
${PUTSERVER} -F ${DIR_SYSVINIT} -m 755 -O hylafax; \
echo "checking ${DIR_SYSVINITSTART} directories"; \
- if test -n "${DIR_SYSVINITSTART}"; then \
- for i in "${DIR_SYSVINITSTART}"; do \
- if test -d ${DIR_SYSVINIT}/$$i; then \
- ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTART}; \
- fi; \
- done; \
- fi; \
- if test -n "${DIR_SYSVINITSTOP}"; then \
- for i in "${DIR_SYSVINITSTOP}"; do \
- if test -d ${DIR_SYSVINIT}/$$i; then \
- ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTOP}; \
- fi; \
- done; \
- fi \
+ for i in ${DIR_SYSVINITSTART}; do \
+ if test -d ${DIR_SYSVINIT}/$$i; then \
+ ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTART}; \
+ fi; \
+ done; \
+ echo "checking ${DIR_SYSVINITSTOP} directories"; \
+ for i in ${DIR_SYSVINITSTOP}; do \
+ if test -d ${DIR_SYSVINIT}/$$i; then \
+ ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTOP}; \
+ fi; \
+ done; \
else \
${PUTSERVER} -F ${SBIN} -m 755 hylafax; \
fi
<TD VALIGN=top><TT>NAME_SYSVINITSTART</TT></TD>
<TD>
The name of SysV-style start script.
-<br>The default is <B>S80fax</B>.
+<br>The default is <B>S80hylafax</B>.
<br>On Linux, the default is <B>S97hylafax</B>.
<br>On HPUX, the default is <B>S905hylafax</B>.
-<br>Solaris, SCO 3.2v4.x, and UnixWare default to <B>S80hylafax</B>.
<br>SCO 3.2v5.x.x defaults to <B>S90hylafax</B>.
</TR>
<TD VALIGN=top><TT>NAME_SYSVINITSTOP</TT></TD>
<TD>
The name of SysV-style stop script.
-<br>The default is <B>K80fax</B>.
-<br>On Linux, the default is <B>K05hylafax</B>.
+<br>The default is <B>K05hylafax</B>.
<br>On HPUX, the default is <B>K095hylafax</B>.
-<br>SCO 3.2v4.x, SCO 3.2v5.x.x, and UnixWare default to <B>K05hylafax</B>.
<br>On Solaris, the default is <B>K20hylafax</B>.
</TR>