/etc/cron.hourly/debian-edu-config is in debian-edu-config 1.702.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin
export PATH
[ -x /usr/bin/innetgr ] || exit 0
for hostname in "$(uname -n)" "$(hostname -s)" ; do
# Automatically extend full LVM volumes if the host is a member of
# the fsautoresize-hosts netgroup.
if [ -x /usr/sbin/debian-edu-fsautoresize ] &&
innetgr -h $hostname fsautoresize-hosts ; then
debian-edu-fsautoresize -n
fi
# Automatically restart disabled print queues every hour if the
# host is a member of the cups-queue-autoreenable-hosts netgroup.
if [ -x /usr/share/debian-edu-config/tools/cups-queue-autoreenable ] &&
innetgr -h $hostname cups-queue-autoreenable-hosts ; then
/usr/share/debian-edu-config/tools/cups-queue-autoreenable
fi
done
|