diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-03-04 12:50:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-03-04 12:50:35 +0000 |
commit | 360c6f23e984df9a11906d336013a0590dd07535 (patch) | |
tree | 865f6ba333e94e83560f3758b1c57a84a4ac7bde /perl-install | |
parent | 7956955445d0172847070d10cb91323202d72e5f (diff) | |
download | drakx-360c6f23e984df9a11906d336013a0590dd07535.tar drakx-360c6f23e984df9a11906d336013a0590dd07535.tar.gz drakx-360c6f23e984df9a11906d336013a0590dd07535.tar.bz2 drakx-360c6f23e984df9a11906d336013a0590dd07535.tar.xz drakx-360c6f23e984df9a11906d336013a0590dd07535.zip |
in drakxservices, don't stop services if one is using the gtk frontend (since it allows one to start/stop services)
this allows to skip stopping service "dm" (bug #2664)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/services.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index 611e6d92f..a9727a560 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -264,7 +264,9 @@ sub doit { if ($after && cat_("$::prefix$script") =~ /^#\s+chkconfig:\s+-/m) { run_program::rooted($::prefix, "chkconfig", "--level", "35", $_, "on"); } - if (!$after && $::isStandalone) { + if (!$after && !$::isInstall && !$in->isa('interactive::gtk')) { + #- only done after install AND when not using the gtk frontend (since it allows one to start/stop services) + #- this allows to skip stopping service "dm" run_program::rooted($::prefix, $script, "stop"); } } |