# Example nethalt.ini file # Lines beginning with # or ; are ignored # Directives are ignored unless they are in a section which matches the system # hostname, the following wildcards may be used in section names: # # * - Zero or more of any character # ? - Any single character # # - Any single integer character # The following directives are recognised by NetHalt: # # Shutdown <[days;]hh:mm[:ss]> ... # Default value: none # # Sets the times at which the system should be shut down, multiple times # may be seperated by spaces. The hour and minute fields are required, # seconds and days are optional. If days is ommited, the shutdown will # occur every day, the value of days may be calculated by bitwise ORing # the following values: # # Monday 2 (00000010) # Tuesday 4 (00000100) # Wednesday 8 (00001000) # Thursday 16 (00010000) # Friday 32 (00100000) # Saturday 64 (01000000) # Sunday 1 (00000001) # # For example: # # Mon/Tue: 6 (00000110) # Tue/Wed: 12 (00001100) # Sat/Sun: 65 (01000001) # Mon-Fri: 62 (00111110) # Mon-Sun: 127 (01111111) # # Warning # Default value: 300 # # Sets the shutdown warning period in seconds, the shutdown warning # dialog will be displayed for this many seconds before the system # shuts down, if this is set to 0, the warning dialog will never be # displayed. # # Abort # Default value: no # # Enables/disables the abort shutdown button on the shutdown warning # dialog, if the button is enabled, clicking it will skip the currently # queued shutdown and queue the next shutdown time. # # Delay # Default value: 0 # # Sets the shutdown delay period in seconds, when the delay button is # clicked, the currently queued shutdown time will be incremented by the # delay period, if the delay period is set to 0, the delay button will # be disabled. # This section will be loaded by ALL machines # # Later lines take priority, so you should define globals/defaults before # per-machine options # [*] # Shut down at 18:30 Mon-Fri and at 16:30 Sat/Sun # Shutdown = 62;18:30 65;16:30 # Allow users to delay shutdowns by 10 minutes when the warning # dialog is displayed # Delay = 600 [NEVERSTOP] # Do not schedule any shutdowns on this computer, this may be useful if # the NetHalt client is deployed globally # Shutdown = [MYBOX] # Enable the abort button on the shutdown warning dialog # Abort = yes # Override the Delay directive further up and delay for 1 hour instead # of 10 minutes # Delay = 3600