Support OpenBSD
Add OpenBSD support to the scripts Fix sysctl usage for FreeBSD in a couple places
This commit is contained in:
parent
24f6e18ef8
commit
8c02cbc5cc
33 changed files with 283 additions and 19 deletions
|
@ -42,9 +42,9 @@ run_hour=6
|
|||
[ -r /etc/nix_ta.conf ] && . /etc/nix_ta.conf
|
||||
|
||||
# Get the current minute now to be consistent through the script run
|
||||
minute=$(date +%_M | tr -d ' ')
|
||||
minute=$(printf "%d" $(date +%M))
|
||||
# Get the current hour now to be consistent through the script run
|
||||
hour=$(date +%_H | tr -d ' ')
|
||||
hour=$(printf "%d" $(date +%H))
|
||||
# Set defaults disabling force-mode and list-mode
|
||||
force=0
|
||||
list=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue