* small initscripts modprobe check for appletalk module in redhat
* autogen now removes INSTALL/ (kludge)
#!/bin/sh
+# quick fix to remove old INSTALL/ directory
+rm -Rvf INSTALL
+
+# build it all.
libtoolize --force && aclocal $ACLOCAL_FLAGS && autoheader && automake --add-missing && autoconf
# just in case automake generated errors...
# Makefile for contrib/shell_utils/
-bin_SCRIPTS = apple_cp apple_mv apple_rm
+SUFFIXES = .tmpl .
+
+.tmpl:
+ sed -e s@:BINDIR:@${bindir}@ \
+ -e s@:SBINDIR:@${sbindir}@ \
+ -e s@:ETCDIR:@${CONFIG_DIR}@ \
+ <$^ >$@
+
+CLEANFILES = lp2pap.sh
+
+bin_SCRIPTS = apple_cp apple_mv apple_rm lp2pap.sh
--- /dev/null
+#!/bin/sh
+# pap script for lp systems
+
+chdir "/etc/lp/printers/`basename $0`"
+
+if [ -r "$6" ]; then
+ :BINDIR:/pap -E "$6"
+ exit $?
+fi
+
+exit 2
# Source networking configuration.
. /etc/sysconfig/network
+# Quickly probe for appletalk and exit if we can't find it
+/sbin/modprobe appletalk || exit 0
+
+# Check for IP Encapsulation support
+#/sbin/modprobe ipddp || echo "[could not load IP encapsulation]"
+
test -x ${ATALK_SBIN}/atalkd || exit 0
test -f ${ATALK_CONF_DIR}/netatalk.conf || exit 0
+++ /dev/null
-#!/bin/sh
-# pap script for lp systems
-
-chdir "/etc/lp/printers/`basename $0`"
-
-if [ -r "$6" ]; then
- :BINDIR:/pap -E "$6"
- exit $?
-fi
-
-exit 2