summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-05 07:53:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-05 07:53:50 +0000
commitdd803c550a86c68ae14c0da7ac385a98c6d2e4a7 (patch)
tree823a9572644baa5ab9d6077b729b8eb8ae9c5da9 /perl-install
parent22b00f9feeb718909f4abb176014d3929af854d6 (diff)
downloaddrakx-backup-do-not-use-dd803c550a86c68ae14c0da7ac385a98c6d2e4a7.tar
drakx-backup-do-not-use-dd803c550a86c68ae14c0da7ac385a98c6d2e4a7.tar.gz
drakx-backup-do-not-use-dd803c550a86c68ae14c0da7ac385a98c6d2e4a7.tar.bz2
drakx-backup-do-not-use-dd803c550a86c68ae14c0da7ac385a98c6d2e4a7.tar.xz
drakx-backup-do-not-use-dd803c550a86c68ae14c0da7ac385a98c6d2e4a7.zip
(writeconf) restart upsd daemon
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakups3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 721e61cc5..30f07ffa4 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -30,6 +30,9 @@ sub writeconf() {
log::explanations("Updating NUT users configuration accordingly");
$users->writeConf($files{users});
+
+ require services;
+ services::restart("upsd");
}
sub readDriversList() {