Compare commits
2 Commits
9c659f8a4d
...
400644f281
Author | SHA1 | Date | |
---|---|---|---|
400644f281 | |||
bb93cd7ee2 |
@@ -0,0 +1,6 @@
|
|||||||
|
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
|
||||||
|
|
||||||
|
send host-name = gethostname();
|
||||||
|
request subnet-mask, broadcast-address, time-offset, routers,
|
||||||
|
domain-name, host-name,
|
||||||
|
rfc3442-classless-static-routes;
|
||||||
|
@@ -243,9 +243,11 @@ fi
|
|||||||
|
|
||||||
###Post package deployment bits
|
###Post package deployment bits
|
||||||
curl --silent https://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf
|
curl --silent https://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf
|
||||||
|
curl --silent https://dl.knownelement.com/FetchApplyDistPoint/dhclient.conf > /etc/dhcp/dhclient.conf
|
||||||
|
|
||||||
|
systemctl stop snmpd && /etc/init.d/snmpd stop
|
||||||
|
|
||||||
curl --silent https://dl.knownelement.com/FetchApplyDistPoint/snmp-sudo.conf > /etc/sudoers.d/Debian-snmp
|
curl --silent https://dl.knownelement.com/FetchApplyDistPoint/snmp-sudo.conf > /etc/sudoers.d/Debian-snmp
|
||||||
systemctl stop snmpd && /etc/init.d/snmpd stop
|
|
||||||
sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.service
|
sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.service
|
||||||
|
|
||||||
pi-detect
|
pi-detect
|
||||||
@@ -258,8 +260,11 @@ curl --silent https://dl.knownelement.com/FetchApplyDistPoint/snmpd.conf > /etc/
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl daemon-reload && systemctl restart snmpd && /etc/init.d/snmpd restart
|
systemctl daemon-reload && systemctl restart snmpd && /etc/init.d/snmpd restart
|
||||||
|
|
||||||
systemctl stop rsyslog && systemctl start rsyslog && logger "hi hi from $(hostname)"
|
systemctl stop rsyslog && systemctl start rsyslog && logger "hi hi from $(hostname)"
|
||||||
|
|
||||||
systemctl restart ntp
|
systemctl restart ntp
|
||||||
|
|
||||||
systemctl restart postfix
|
systemctl restart postfix
|
||||||
|
|
||||||
/usr/sbin/accton on
|
/usr/sbin/accton on
|
||||||
|
@@ -1,3 +1 @@
|
|||||||
set -o vi
|
export HISTTIMEFORMAT="%m/%d/%Y %T "
|
||||||
export HISTTIMEFORMAT="%m/%d/%Y %T "
|
|
||||||
|
|
Reference in New Issue
Block a user