[PATCH 1/2] Disable the service only on successful exit (#967617)

Vratislav Podzimek vpodzime at redhat.com
Thu Jun 13 13:30:52 UTC 2013


On Wed, 2013-06-12 at 16:00 +0200, Vratislav Podzimek wrote:
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  initial-setup                           | 2 +-
>  systemd/initial-setup-graphical.service | 1 -
>  systemd/initial-setup-text.service      | 1 -
>  3 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/initial-setup b/initial-setup
> index 3822c29..6f312b9 100755
> --- a/initial-setup
> +++ b/initial-setup
> @@ -1,2 +1,2 @@
>  #!/bin/sh
> -python -m initial_setup
> +python -m initial_setup && /bin/systemctl disable initial-setup-graphical.service initial-setup-text.service
This should end with '>/dev/null' so that the 'rm ...' lines are not
printed on the console in case of the text mode. Fixed locally.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list