summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-10-01 06:27:44 +0000
committerkris <kris@FreeBSD.org>2001-10-01 06:27:44 +0000
commit5b604460faba936e352847010dadbb04c6f92d22 (patch)
treec40c61f5a0c670eb30d1b78ea4cb4d459c1523a9 /etc/periodic
parent2716e56536c233b10a8241e869c7c1aa6a68989b (diff)
downloadFreeBSD-src-5b604460faba936e352847010dadbb04c6f92d22.zip
FreeBSD-src-5b604460faba936e352847010dadbb04c6f92d22.tar.gz
UUCP removal Phase III.
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/daily/340.uucp39
-rwxr-xr-xetc/periodic/daily/410.status-uucp36
-rw-r--r--etc/periodic/daily/Makefile4
-rwxr-xr-xetc/periodic/weekly/300.uucp38
-rw-r--r--etc/periodic/weekly/Makefile3
5 files changed, 0 insertions, 120 deletions
diff --git a/etc/periodic/daily/340.uucp b/etc/periodic/daily/340.uucp
deleted file mode 100755
index 120c874..0000000
--- a/etc/periodic/daily/340.uucp
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Local cleanup of UUCP files. This is for backwards compatibility,
-# /etc/uuclean.daily doesn't exist by default.
-#
-
-# If there is a global system configuration file, suck it in.
-#
-if [ -r /etc/defaults/periodic.conf ]
-then
- . /etc/defaults/periodic.conf
- source_periodic_confs
-fi
-
-case "$daily_uuclean_enable" in
- [Yy][Ee][Ss])
- if [ ! -d /var/spool/uucp ]
- then
- echo '$daily_uuclean_enable is set, but /var/spool/uucp' \
- "doesn't exist"
- rc=2
- elif [ ! -f /etc/uuclean.daily ]
- then
- echo '$daily_uuclean_enable is set, but /etc/uuclean.daily' \
- "doesn't exist"
- rc=2
- else
- echo ""
- echo "Cleaning up UUCP:"
-
- echo /etc/uuclean.daily | su -m uucp && rc=0 || rc=3
- fi;;
-
- *) rc=0;;
-esac
-
-exit $rc
diff --git a/etc/periodic/daily/410.status-uucp b/etc/periodic/daily/410.status-uucp
deleted file mode 100755
index 0b086ab..0000000
--- a/etc/periodic/daily/410.status-uucp
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# If there is a global system configuration file, suck it in.
-#
-if [ -r /etc/defaults/periodic.conf ]
-then
- . /etc/defaults/periodic.conf
- source_periodic_confs
-fi
-
-case "$daily_status_uucp_enable" in
- [Yy][Ee][Ss])
- if [ ! -d /var/spool/uucp ]
- then
- echo '$daily_status_uucp_enable is set but /var/spool/uucp' \
- "doesn't exist"
- rc=2
- elif [ ! -x /usr/bin/uustat ]
- then
- echo '$daily_status_uucp_enable is set but /usr/bin/uustat' \
- "isn't executable"
- rc=2
- else
- echo ""
- echo "UUCP status:"
-
- (echo "/usr/bin/uustat -a" | su -fm uucp ) && rc=0 || rc=3
- fi;;
-
- *) rc=0;;
-esac
-
-exit $rc
diff --git a/etc/periodic/daily/Makefile b/etc/periodic/daily/Makefile
index ea51b43..f0fa19a 100644
--- a/etc/periodic/daily/Makefile
+++ b/etc/periodic/daily/Makefile
@@ -22,9 +22,5 @@ BIN= 100.clean-disks \
470.status-named \
500.queuerun \
999.local
-.if !defined(NOUUCP)
-BIN+= 340.uucp \
- 410.status-uucp
-.endif
.include <bsd.prog.mk>
diff --git a/etc/periodic/weekly/300.uucp b/etc/periodic/weekly/300.uucp
deleted file mode 100755
index 1d146bc..0000000
--- a/etc/periodic/weekly/300.uucp
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh -
-#
-# $FreeBSD$
-#
-# This is really here for backwards compatibility, clean.weekly is not
-# created by default anymore.
-
-# If there is a global system configuration file, suck it in.
-#
-if [ -r /etc/defaults/periodic.conf ]
-then
- . /etc/defaults/periodic.conf
- source_periodic_confs
-fi
-
-case "$weekly_uucp_enable" in
- [Yy][Ee][Ss])
- if [ ! -d /var/spool/uucp ]
- then
- echo '$weekly_uucp_enable is set but /var/spool/uucp' \
- "doesn't exist"
- rc=2
- elif [ ! -x /usr/libexec/uucp/clean.weekly ]
- then
- echo '$weekly_uucp_enable is set but' \
- "/usr/libexec/uucp/clean.weekly isn't executable"
- rc=2
- else
- echo ""
- echo "Cleaning up UUCP:"
-
- echo /usr/libexec/uucp/clean.weekly | su -m daemon && rc=0 || rc=3
- fi;;
-
- *) rc=0;;
-esac
-
-exit $rc
diff --git a/etc/periodic/weekly/Makefile b/etc/periodic/weekly/Makefile
index 2433e69..964b2e6 100644
--- a/etc/periodic/weekly/Makefile
+++ b/etc/periodic/weekly/Makefile
@@ -7,8 +7,5 @@ BIN= 120.clean-kvmdb \
340.noid \
400.status-pkg \
999.local
-.if !defined(NOUUCP)
-BIN+= 300.uucp
-.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud