shutdown-at-night - System to shut down clients at night, and wake them in the morning

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename shutdown-at-night_0.21_all.deb
Package name shutdown-at-night
Package version 0.21
Package release -
Package architecture all
Package type deb
Category admin::power-management hardware::power implemented-in::shell misc role::program
Homepage -
License -
Maintainer Debian Edu Packaging Team <>
Download size 10.58 KB
Installed size 34.00 KB
With this tool you can schedule regular shutdowns of workstations in the
evening, and also wake them up every morning, using either nvram-wakeup, ACPI
wakeup or wake-on-lan.
For the wake-on-lan wake-up sequence you need one awake machine on your local
network / subnet. This can be a server machine or a client machine that got
just previously woken up by nvram-wakeup.
The shutdown sequence will be initiated hourly after 4pm via a CRON job.
However, only machines that appear inactive / unused will be shut down.
Machines that are currently in use will remain up and running.
The Shutdown-at-Night tool can be activated via a config file or via
membership in a NIS netgroup called shutdown-at-night-hosts.


Package Version Architecture Repository
shutdown-at-night_0.21_all.deb 0.21 all Debian Main
shutdown-at-night - - -


Name Value
cron -
cron-daemon -
ethtool -
fping -
ng-utils -
perl:any -
wakeonlan -
x11-utils -


Type URL
Binary Package shutdown-at-night_0.21_all.deb
Source Package shutdown-at-night

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install shutdown-at-night deb package:
    # sudo apt-get install shutdown-at-night




2019-01-16 - Holger Levsen <>
shutdown-at-night (0.21) unstable; urgency=medium
* Team upload.
* d/control:
- bump Standards-Version to 4.3.0, no changes needed.
- use canonical URL for Vcs-Git, thanks lintian.
2018-10-16 - Holger Levsen <>
shutdown-at-night (0.20) unstable; urgency=medium
* Team upload.
* d/control:
- use the new debhelper-compat(=11) notation and drop d/compat.
- bump Standards-Version to 4.2.1, no changes needed.
- drop version from suggests on sitesummary, as it's been fulfilled since
Lenny at least.
2018-06-14 - Holger Levsen <>
shutdown-at-night (0.19) unstable; urgency=medium
* Team upload.
[ Mike Gabriel ]
* shutdown-at-night: Support arctica-greeter as LightDM greeter. If present,
we consider it as a hint that no X session is running.
2018-06-08 - Holger Levsen <>
shutdown-at-night (0.18) unstable; urgency=medium
* Team upload.
[ Mike Gabriel ]
* d/control: Update Vcs-*: fields. Packaging Git has been migrated to salsa.
[ Holger Levsen ]
* Remove Alexander Alemayhu from uploaders - thanks for your contributions!
* d/control:
- bump Standards-Version to 4.1.4, no changes needed.
- unify Vcs-*: headers.
- declare that shutdown-at-night doesn't need root to build, add
"Rules-Requires-Root: no" header after testing this is the case.
* d/compat: bump to 11 and update dependency accordingly.
* d/copyright:
- use https for Format: URL, thanks lintian.
- point Source: to salsa.
2016-02-23 - Mike Gabriel <>
shutdown-at-night (0.17) unstable; urgency=medium
[ Wolfgang Schweer ]
* Fix typos in xsession test. (Closes: #802541).
* Fix typo in acpiwakeup code. (Closes: #802542).
* Set RTC based self-wake-up to disabled as default behaviour. This is
needed for blacklisting host wake-up via netgroups. It is needed as
well if shutdown-at-night is enabled via the flag file
/etc/shutdown-at-night/shutdown-at-night but wake-up isn't wanted.
* Provide support for wake-up feature if flag file is used.
+ Add configuration information to the README file.
+ Adjust the code to make configuration possible.
[ Mike Gabriel ]
* shutdown-at-night: Add support for a blockage file that prevents from
the system being woken up by NVRAM or RTC alarm.
* wakeupclients: Add support for a blockage file that prevents from
other clients being woken up.
* README: Document the blockage files for system wake-ups.
* shutdown-at-night: Suppress ethtool output to stderr.
* wakeupclients: Don't send alive pings to an empty address list. Prevents
the script from hanging indefinitely when calling the fping command.
* shutdown-at-night: Evaluate the newly supported NIS netgroups
shutdown-at-night-wakeup-hosts and shutdown-at-night-wakeup-hosts-blacklist
and only prepare the NVRAM/RTC based host wake-up if configured accordingly
via NIS netgroups.
* debian/control:
+ Use encrypted URLs in Vcs-*: fields.

See Also

Package Description
sia_1.3.0-1.1+b1_amd64.deb Blockchain-based marketplace for file storage
sibsim4_0.20-4_amd64.deb align expressed RNA sequences on a DNA template
sic_1.1-5_amd64.deb simple irc client (sic)
sickle_1.33+git20150314.f3d6ae3-1_amd64.deb windowed adaptive trimming tool for FASTQ files using quality
sidedoor-sudo_0.2.1-1_all.deb SSH connection daemon - sudoers entry
sidedoor_0.2.1-1_all.deb SSH connection daemon
sidplay-base_1.0.9-7+b1_amd64.deb Music player for tunes from C64 and C128 (console)
sidplay_2.0.9-6+b2_amd64.deb Music player for tunes from C64 and C128 (console)
sidplayfp_1.4.4-1_amd64.deb Fork of sidplay2, a C64 and C128 music player
siege_4.0.4-1_amd64.deb HTTP regression testing and benchmarking utility
sieve-connect_0.88-1_all.deb MANAGESIEVE protocol client
siggen_2.3.10-8_amd64.deb Waveform generation tools
sigil-data_0.9.13+dfsg-1_all.deb multi-platform ebook editor - data files
sigil_0.9.13+dfsg-1_amd64.deb multi-platform ebook editor
sigma-align_1.1.3-6_amd64.deb Simple greedy multiple alignment of non-coding DNA sequences