[PATCH 1/2] units: Merge halt/poweroff/reboot for the different distros

Bill Nottingham notting at redhat.com
Thu Sep 9 08:37:46 PDT 2010


Santi (santi at agolina.net) said: 
>  Makefile.am                   |   23 ++++++-------------
>  units/.gitignore              |    3 ++
>  units/arch/halt.service       |   19 ----------------
>  units/arch/poweroff.service   |   19 ----------------
>  units/arch/reboot.service     |   19 ----------------
>  units/debian/halt.service     |   19 ----------------
>  units/debian/poweroff.service |   19 ----------------
>  units/debian/reboot.service   |   19 ----------------
>  units/fedora/halt.service     |   19 ----------------
>  units/fedora/poweroff.service |   19 ----------------
>  units/fedora/reboot.service   |   19 ----------------
>  units/gentoo/halt.service     |   19 ----------------
>  units/gentoo/poweroff.service |   19 ----------------
>  units/gentoo/reboot.service   |   18 ---------------
>  units/halt.service.m4         |   49 +++++++++++++++++++++++++++++++++++++++++
>  units/poweroff.service.m4     |   49 +++++++++++++++++++++++++++++++++++++++++
>  units/reboot.service.m4       |   48 ++++++++++++++++++++++++++++++++++++++++
>  units/suse/halt.service       |   19 ----------------
>  units/suse/poweroff.service   |   19 ----------------
>  units/suse/reboot.service     |   19 ----------------

I would argue that it's better to work on a native, common, no-hacks
implementation thereof, and leave the current distro-specific
ones intact. (Or, in fact, move them out of systemd entirely
to some distro-specific place.)

Bill


More information about the systemd-devel mailing list