From 12b3feed100045b86b54cccba761d83c68b1613e Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 14 Mar 2013 19:28:28 +0100 Subject: [PATCH] Current state --- conf.d/net | 1 + local.d/baselayout1.start | 16 ++++++++++++++++ local.d/baselayout1.stop | 19 +++++++++++++++++++ ssl/CA-fbrehm/postfix/postfix-cert.cnf | 2 +- 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100755 local.d/baselayout1.start create mode 100755 local.d/baselayout1.stop diff --git a/conf.d/net b/conf.d/net index ccf6891..83763c6 100644 --- a/conf.d/net +++ b/conf.d/net @@ -11,3 +11,4 @@ dns_domain_eth0="pb.local" dns_servers_eth0="192.168.178.30 192.168.178.89" dns_search_eth0="pb.local brehm-online.com dc1.de.profitbricks.net dc2.us.profitbricks.net dc252.de.profitbricks.net uhu-banane.de" +# vim: filetype=gentoo-conf-d ts=3 et diff --git a/local.d/baselayout1.start b/local.d/baselayout1.start new file mode 100755 index 0000000..86f80ed --- /dev/null +++ b/local.d/baselayout1.start @@ -0,0 +1,16 @@ +#!/bin/bash + +# /etc/conf.d/local.start + +# This is a good place to load any misc programs +# on startup (use &>/dev/null to hide output) + +#echo "Setze Standard-Route IPv6 via fe80::1 dev eth0" +#/sbin/ip -6 route add default via fe80::1 dev eth0 + +#/sbin/ip -6 route add "2a01:238:4225:6e00::/56" dev lo + +echo "Sende Mail wegen Boot ..." +echo "Server $(hostname) wird '$(date)' gebootet" | /usr/bin/mailx -s "Boot von $(hostname)" root@localhost + +# vim: ts=4 expandtab diff --git a/local.d/baselayout1.stop b/local.d/baselayout1.stop new file mode 100755 index 0000000..54331d9 --- /dev/null +++ b/local.d/baselayout1.stop @@ -0,0 +1,19 @@ +#!/bin/bash + +# /etc/conf.d/local.stop + +# This is a good place to unload any misc. +# programs you started above. +# For example, if you are using OSS and have +# "/usr/local/bin/soundon" above, put +# "/usr/local/bin/soundoff" here. + +echo "Sende Mail wegen Shutdown ..." +echo "Server $(hostname) wird '$(date)' ordentlich heruntergefahren" | /usr/bin/mailx -s "Shutdown von $(hostname)" root@localhost + +echo +echo "Warte 5 Sekunden ..." +echo +sleep 5 + +# vim: ts=4 expandtab diff --git a/ssl/CA-fbrehm/postfix/postfix-cert.cnf b/ssl/CA-fbrehm/postfix/postfix-cert.cnf index 7be4e6e..6389f98 100644 --- a/ssl/CA-fbrehm/postfix/postfix-cert.cnf +++ b/ssl/CA-fbrehm/postfix/postfix-cert.cnf @@ -14,7 +14,7 @@ ST=Berlin L=Berlin O=Berlin OU=Local Postfix SSL key -CN=stralsund.pb.local +CN=samara.pb.local emailAddress=frank.brehm@profitbricks.com -- 2.39.5