Commit c497a437 authored by Dietmar Maurer's avatar Dietmar Maurer

use shorter login message

And avoid to use debian version, because that changes over time and
it is clumsy to keep in sync.
parent 95f5e3ac
...@@ -7,7 +7,6 @@ use PVE::Cluster; ...@@ -7,7 +7,6 @@ use PVE::Cluster;
my $nodename = PVE::INotify::nodename(); my $nodename = PVE::INotify::nodename();
my $localip = PVE::Cluster::remote_node_ip($nodename, 1); my $localip = PVE::Cluster::remote_node_ip($nodename, 1);
my $xline = '-' x 78; my $xline = '-' x 78;
my $banner = ''; my $banner = '';
...@@ -28,8 +27,6 @@ __EOBANNER ...@@ -28,8 +27,6 @@ __EOBANNER
} }
$banner .= "Debian GNU/Linux 7.0 \\n \\l\n\n";
open(ISSUE, ">/etc/issue"); open(ISSUE, ">/etc/issue");
print ISSUE $banner; print ISSUE $banner;
......
...@@ -68,6 +68,9 @@ case "$1" in ...@@ -68,6 +68,9 @@ case "$1" in
test -e /proxmox_install_mode || invoke-rc.d pvedaemon restart test -e /proxmox_install_mode || invoke-rc.d pvedaemon restart
test -e /proxmox_install_mode || invoke-rc.d pveproxy restart test -e /proxmox_install_mode || invoke-rc.d pveproxy restart
test -e /proxmox_install_mode || invoke-rc.d pvestatd restart test -e /proxmox_install_mode || invoke-rc.d pvestatd restart
# rewrite banner
test -e /proxmox_install_mode || pvebanner || /bin/true
#a2ensite pve.conf >/dev/null 2>&1 #a2ensite pve.conf >/dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment