From fe1720168001e09f5b9d081be38c6030b1212e5a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 21 Nov 2017 10:21:50 +0100 Subject: [PATCH] pmg: write admin email to /etc/pmg/pmg.conf --- proxinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxinstall b/proxinstall index 7603de8..f8f5de2 100755 --- a/proxinstall +++ b/proxinstall @@ -1601,8 +1601,8 @@ _EOD if ($setup->{product} eq 'pmg') { # save admin email - write_config ("#Unix Superuser\nroot:1:0::root:${mailto}:::\n", - "$targetdir/etc/pmg/user.conf"); + write_config ("section: admin\n\temail ${mailto}\n", + "$targetdir/etc/pmg/pmg.conf"); } elsif ($setup->{product} eq 'pve') { -- 2.39.2