forked from pool/conman
Accepting request 563618 from home:eeich:branches:network:cluster
- Added an update message if configuration was changed automatically. OBS-URL: https://build.opensuse.org/request/show/563618 OBS-URL: https://build.opensuse.org/package/show/network:cluster/conman?expand=0&rev=20
This commit is contained in:
parent
8fd32a3697
commit
19e3b46f49
@ -187,6 +187,11 @@ if [ $1 -eq 2 ]; then
|
|||||||
if ! cmp /etc/conman.conf $tmpfile; then
|
if ! cmp /etc/conman.conf $tmpfile; then
|
||||||
mv $tmpfile /etc/conman.conf
|
mv $tmpfile /etc/conman.conf
|
||||||
chown %conman_u:%conman_g /etc/conman.conf
|
chown %conman_u:%conman_g /etc/conman.conf
|
||||||
|
cat > %_localstatedir/adm/update-messages/%{name}-%{version}-%{release}-%{name}.txt <<EOF
|
||||||
|
|
||||||
|
The conman configuration in %_sysconfdir/conman.conf has been updated to the new pid and log
|
||||||
|
directory. Please check this file to make sure it is correct.
|
||||||
|
EOF
|
||||||
else
|
else
|
||||||
rm $tmpfile
|
rm $tmpfile
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user