apr 19 update
This commit is contained in:
		@ -13,7 +13,7 @@
 | 
			
		||||
# references must include a dollar sign '$' in front of the
 | 
			
		||||
# name to be expanded properly.
 | 
			
		||||
#
 | 
			
		||||
# $FreeBSD: releng/12.2/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
 | 
			
		||||
# $FreeBSD: releng/12.3/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# Very basic and secure ruleset: Hide everything.
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@
 | 
			
		||||
# For a more detailed explanation of all the periodic.conf variables, please
 | 
			
		||||
# refer to the periodic.conf(5) manual page.
 | 
			
		||||
#
 | 
			
		||||
# $FreeBSD: releng/12.2/usr.sbin/periodic/periodic.conf 337648 2018-08-11 17:11:08Z brd $
 | 
			
		||||
# $FreeBSD: releng/12.3/usr.sbin/periodic/periodic.conf 370770 2021-10-07 19:46:04Z asomers $
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# What files override these defaults ?
 | 
			
		||||
@ -77,6 +77,29 @@ daily_backup_passwd_enable="YES"			# Backup passwd & group
 | 
			
		||||
# 210.backup-aliases
 | 
			
		||||
daily_backup_aliases_enable="YES"			# Backup mail aliases
 | 
			
		||||
 | 
			
		||||
# 221.backup-gpart
 | 
			
		||||
if [ $(sysctl -n security.jail.jailed) = 0 ]; then
 | 
			
		||||
        # Backup partition table/boot partition/MBR
 | 
			
		||||
        daily_backup_gpart_enable="YES"
 | 
			
		||||
else
 | 
			
		||||
        daily_backup_gpart_enable="NO"
 | 
			
		||||
fi
 | 
			
		||||
daily_backup_gpart_verbose="NO"             		# Be verbose if new backup differs from the old one
 | 
			
		||||
daily_backup_efi_enable="NO"                		# Backup EFI system partition (ESP)
 | 
			
		||||
 | 
			
		||||
# 222.backup-gmirror
 | 
			
		||||
daily_backup_gmirror_enable="NO"			# Backup of gmirror info (i.e., output of `gmirror list`)
 | 
			
		||||
daily_backup_gmirror_verbose="NO"			# Log diff if new backup differs from the old one
 | 
			
		||||
 | 
			
		||||
# 223.backup-zfs
 | 
			
		||||
daily_backup_zfs_enable="NO"				# Backup output from zpool/zfs list
 | 
			
		||||
daily_backup_zfs_props_enable="NO"			# Backup zpool/zfs filesystem properties
 | 
			
		||||
daily_backup_zfs_get_flags="all"			# flags passed to `zfs get`
 | 
			
		||||
daily_backup_zfs_list_flags=""				# flags passed to `zfs list`
 | 
			
		||||
daily_backup_zpool_get_flags="all"			# flags passed to `zpool get`
 | 
			
		||||
daily_backup_zpool_list_flags="-v"			# flags passed to `zpool list`
 | 
			
		||||
daily_backup_zfs_verbose="NO"				# Report diff between the old and new backups.
 | 
			
		||||
 | 
			
		||||
# 300.calendar
 | 
			
		||||
daily_calendar_enable="NO"				# Run calendar -a
 | 
			
		||||
 | 
			
		||||
@ -118,7 +141,7 @@ daily_status_mfi_enable="NO"				# Check mfiutil(8)
 | 
			
		||||
# 420.status-network
 | 
			
		||||
daily_status_network_enable="NO"			# Check network status
 | 
			
		||||
daily_status_network_usedns="YES"			# DNS lookups are ok
 | 
			
		||||
daily_status_network_netstat_flags="-d"			# netstat(1) flags
 | 
			
		||||
daily_status_network_netstat_flags="-d -W"		# netstat(1) flags
 | 
			
		||||
 | 
			
		||||
# 430.status-uptime
 | 
			
		||||
daily_status_uptime_enable="YES"			# Check system uptime
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
# $FreeBSD: releng/12.2/usr.sbin/freebsd-update/freebsd-update.conf 337338 2018-08-04 22:25:41Z brd $
 | 
			
		||||
# $FreeBSD: releng/12.3/usr.sbin/freebsd-update/freebsd-update.conf 370439 2021-08-29 16:58:35Z kevans $
 | 
			
		||||
 | 
			
		||||
# Trusted keyprint.  Changing this is a Bad Idea unless you've received
 | 
			
		||||
# a PGP-signed email from <security-officer@FreeBSD.org> telling you to
 | 
			
		||||
@ -17,7 +17,7 @@ ServerName update.FreeBSD.org
 | 
			
		||||
# Example for updating the userland and the kernel source code only:
 | 
			
		||||
#Components src world
 | 
			
		||||
Components world
 | 
			
		||||
# manually run - svnlite update /usr/src - before recompiling the kernel
 | 
			
		||||
# manually run - git pull in /usr/src - before recompiling the kernel
 | 
			
		||||
 | 
			
		||||
# Paths which start with anything matching an entry in an IgnorePaths
 | 
			
		||||
# statement will be ignored.
 | 
			
		||||
@ -76,3 +76,6 @@ MergeChanges /etc/ /boot/device.hints
 | 
			
		||||
 | 
			
		||||
# When backing up a kernel also back up debug symbol files?
 | 
			
		||||
# BackupKernelSymbolFiles no
 | 
			
		||||
 | 
			
		||||
# Create a new boot environment when installing patches
 | 
			
		||||
# CreateBootEnv yes
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
# $FreeBSD: releng/12.2/lib/libc/net/hosts 338729 2018-09-17 18:56:47Z brd $
 | 
			
		||||
# $FreeBSD: releng/12.3/lib/libc/net/hosts 338729 2018-09-17 18:56:47Z brd $
 | 
			
		||||
#
 | 
			
		||||
# Host Database
 | 
			
		||||
#
 | 
			
		||||
@ -24,7 +24,7 @@ fd09::10	nas nas.ahlawat.com
 | 
			
		||||
192.168.10.10		nas nas.ahlawat.com
 | 
			
		||||
fd0a::10	nas nas.ahlawat.com
 | 
			
		||||
192.168.48.10		nas nas.ahlawat.com
 | 
			
		||||
2001:470:82a9::10	nas nas.ahlawat.com
 | 
			
		||||
2001:470:480a::10	nas nas.ahlawat.com
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# Imaginary network. 10.0.0.2 myname.my.domain myname 10.0.0.3 myfriend.my.domain myfriend
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,7 @@
 | 
			
		||||
# This file controls resource limits, accounting limits and
 | 
			
		||||
# default user environment settings.
 | 
			
		||||
#
 | 
			
		||||
# $FreeBSD: releng/12.2/usr.bin/login/login.conf 357789 2020-02-12 02:04:03Z kevans $
 | 
			
		||||
# $FreeBSD: releng/12.3/usr.bin/login/login.conf 369215 2021-02-04 03:15:28Z kevans $
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# Default settings effectively disable resource limits, see the
 | 
			
		||||
@ -63,7 +63,13 @@ xuser:\
 | 
			
		||||
	:tc=default:
 | 
			
		||||
staff:\
 | 
			
		||||
	:tc=default:
 | 
			
		||||
 | 
			
		||||
# This PATH may be clobbered by individual applications.  Notably, by default,
 | 
			
		||||
# rc(8), service(8), and cron(8) will all override it with a default PATH that
 | 
			
		||||
# may not include /usr/local/sbin and /usr/local/bin when starting services or
 | 
			
		||||
# jobs.
 | 
			
		||||
daemon:\
 | 
			
		||||
	:path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin:\
 | 
			
		||||
	:mail@:\
 | 
			
		||||
	:memorylocked=128M:\
 | 
			
		||||
	:tc=default:
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
#
 | 
			
		||||
# $FreeBSD: releng/12.2/usr.sbin/ntp/ntpd/ntp.conf 352865 2019-09-29 03:36:50Z cy $
 | 
			
		||||
# $FreeBSD: releng/12.3/usr.sbin/ntp/ntpd/ntp.conf 365704 2020-09-14 01:20:57Z emaste $
 | 
			
		||||
#
 | 
			
		||||
# Default NTP servers for the FreeBSD operating system.
 | 
			
		||||
#
 | 
			
		||||
@ -14,8 +14,8 @@
 | 
			
		||||
# Set the target and limit for adding servers configured via pool statements
 | 
			
		||||
# or discovered dynamically via mechanisms such as broadcast and manycast.
 | 
			
		||||
# Ntpd automatically adds maxclock-1 servers from configured pools, and may
 | 
			
		||||
# add as many as maxclock*2 if necessary to ensure that at least minclock 
 | 
			
		||||
# servers are providing good consistant time.
 | 
			
		||||
# add as many as maxclock*2 if necessary to ensure that at least minclock
 | 
			
		||||
# servers are providing good consistent time.
 | 
			
		||||
#
 | 
			
		||||
tos minclock 3 maxclock 6
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
# $FreeBSD: releng/12.2/bin/sh/profile 363525 2020-07-25 11:57:39Z pstef $
 | 
			
		||||
# $FreeBSD: releng/12.3/bin/sh/profile 363525 2020-07-25 11:57:39Z pstef $
 | 
			
		||||
#
 | 
			
		||||
# System-wide .profile file for sh(1).
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
zfs_enable="YES"
 | 
			
		||||
 | 
			
		||||
kld_list="nmdm vmm ipfw ipdivert linux64"
 | 
			
		||||
kld_list="nmdm vmm ipfw ipdivert linux64 wg"
 | 
			
		||||
 | 
			
		||||
# Do not mark to autodetach otherwise ZFS gets very unhappy.
 | 
			
		||||
geli_autodetach="NO"
 | 
			
		||||
@ -34,7 +34,7 @@ firewall_logif="YES"
 | 
			
		||||
cloned_interfaces_sticky="YES"
 | 
			
		||||
cloned_interfaces="lagg0 bridge1 bridge2 bridge5 bridge9 bridge10 bridge48"
 | 
			
		||||
 | 
			
		||||
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up"
 | 
			
		||||
ifconfig_lagg0="laggproto loadbalance laggport igb0 laggport igb1 up"
 | 
			
		||||
ifconfig_igb0="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
 | 
			
		||||
ifconfig_igb1="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
 | 
			
		||||
 | 
			
		||||
@ -54,7 +54,7 @@ ifconfig_lagg0_9_ipv6="inet6 fd09::10/64 auto_linklocal accept_rtadv"
 | 
			
		||||
ifconfig_lagg0_10="inet 192.168.10.10/24"
 | 
			
		||||
ifconfig_lagg0_10_ipv6="inet6 fd0a::10/64 auto_linklocal accept_rtadv"
 | 
			
		||||
ifconfig_lagg0_48="inet 192.168.48.10/24"
 | 
			
		||||
ifconfig_lagg0_48_ipv6="inet6 2001:470:82a9::10/64 auto_linklocal accept_rtadv"
 | 
			
		||||
ifconfig_lagg0_48_ipv6="inet6 2001:470:480a::10/64 auto_linklocal accept_rtadv"
 | 
			
		||||
 | 
			
		||||
ifconfig_bridge1="addm lagg0.1 up"
 | 
			
		||||
ifconfig_bridge2="addm lagg0.2 up"
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
# $FreeBSD: releng/12.2/sbin/sysctl/sysctl.conf 337624 2018-08-11 13:28:03Z brd $
 | 
			
		||||
# $FreeBSD: releng/12.3/sbin/sysctl/sysctl.conf 337624 2018-08-11 13:28:03Z brd $
 | 
			
		||||
#
 | 
			
		||||
#  This file is read when going to multi-user and its contents piped thru
 | 
			
		||||
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
 | 
			
		||||
 | 
			
		||||
@ -1,17 +1,17 @@
 | 
			
		||||
FreeBSD: {
 | 
			
		||||
    url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
 | 
			
		||||
    enabled: yes
 | 
			
		||||
    enabled: no
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkgp-freebsd-pkg: {
 | 
			
		||||
    url: "http://pkgp-freebsd-pkg.ahlawat.com/${ABI}/latest",
 | 
			
		||||
    mirror_type: "http",
 | 
			
		||||
    enabled: no,
 | 
			
		||||
    enabled: yes,
 | 
			
		||||
    priority: 10
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkgp121: {
 | 
			
		||||
    url: "http://pkgp.ahlawat.com/packages/pj121-default/",
 | 
			
		||||
pkgp123: {
 | 
			
		||||
    url: "http://pkgp.ahlawat.com/packages/pj123-default/",
 | 
			
		||||
    mirror_type: "http",
 | 
			
		||||
    signature_type: "pubkey",
 | 
			
		||||
    pubkey: "/mnt/data/apps/certs/poudriere.cert",
 | 
			
		||||
 | 
			
		||||
@ -19,7 +19,7 @@
 | 
			
		||||
name=gstat_exporter
 | 
			
		||||
rcvar=${name}_enable
 | 
			
		||||
 | 
			
		||||
GSTATEXPORTER="nohup /usr/local/bin/python3.7 /root/FreeBSD/scripts/gstat_exporter.py"
 | 
			
		||||
GSTATEXPORTER="nohup /usr/local/bin/python3.8 /root/FreeBSD/scripts/gstat_exporter.py"
 | 
			
		||||
 | 
			
		||||
start_cmd="${name}_start"
 | 
			
		||||
stop_cmd="${name}_stop"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user