Make the rc.d script more compliant.
This commit is contained in:
parent
84428646d9
commit
5238fe7545
3 changed files with 24 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2002/07/06 20:15:51 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2002/07/06 20:52:07 tv Exp $
|
||||
#
|
||||
|
||||
DISTNAME= fidogate-4.4.5
|
||||
|
@ -17,6 +17,7 @@ MAKE_ENV= DEBUG="${CFLAGS} -Werror" CC="${CC} ${_STRIPFLAG_CC}"
|
|||
|
||||
EGDIR= ${PREFIX}/share/examples
|
||||
CONF_FILES= ${EGDIR}/fidogate/fidogate.conf ${PKG_SYSCONFDIR}/fidogate/fidogate.conf
|
||||
RCD_SCRIPTS= fidogate
|
||||
|
||||
post-extract:
|
||||
@${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.4 2002/07/06 20:15:51 tv Exp $
|
||||
$NetBSD: distinfo,v 1.5 2002/07/06 20:52:07 tv Exp $
|
||||
|
||||
SHA1 (fidogate-4.4.5.tar.gz) = ba69cb041d45f10f732f7d6399deeb5002f7d7ac
|
||||
Size (fidogate-4.4.5.tar.gz) = 1171414 bytes
|
||||
|
@ -20,3 +20,4 @@ SHA1 (patch-ao) = e23fc61440465d1792fbcc51aeeb1077393c87e9
|
|||
SHA1 (patch-ap) = 052d155e698fb36b87e4a28a4b1f75f701b7c956
|
||||
SHA1 (patch-aq) = 23e551d1bf36e031a629d9d9e817d135886191ab
|
||||
SHA1 (patch-ar) = 0883b75e210d635f7e9f49c9b2b5d3978645953b
|
||||
SHA1 (patch-as) = daf5a80d044933c17f8ab556bebc0765af1439e3
|
||||
|
|
20
comms/fidogate/patches/patch-as
Normal file
20
comms/fidogate/patches/patch-as
Normal file
|
@ -0,0 +1,20 @@
|
|||
$NetBSD: patch-as,v 1.1 2002/07/06 20:52:36 tv Exp $
|
||||
|
||||
--- scripts/maintenance/rc.fidogate.sh.orig Sat Jul 6 16:52:25 2002
|
||||
+++ scripts/maintenance/rc.fidogate.sh Sat Jul 6 16:53:14 2002
|
||||
@@ -5,9 +5,15 @@
|
||||
# FIDOGATE boot cleanup
|
||||
#
|
||||
|
||||
+case "$1" in
|
||||
+start|restart)
|
||||
+
|
||||
# Remove lock files
|
||||
rm -f <LOCKDIR>/*
|
||||
|
||||
# Remove .tmp files
|
||||
rm -f <SPOOLDIR>/outpkt/*.tmp <SPOOLDIR>/outpkt/*/*.tmp
|
||||
rm -f <SPOOLDIR>/toss/*/*.tmp
|
||||
+
|
||||
+;;
|
||||
+esac
|
Loading…
Reference in a new issue