summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-17 02:17:47 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-17 02:17:47 +0200
commite6aad08ba82e44e88f9186eab30c68ceaf6370a3 (patch)
tree056599820399bef90227a1c911ae94b7e6ddacc5
parentfb1bd35a5dd1ad5cfd848fdbe0d64ac53a122af0 (diff)
units: fix commenting
-rw-r--r--units/basic.target.m47
-rw-r--r--units/fedora/halt.service2
-rw-r--r--units/fedora/killall.service2
-rw-r--r--units/fedora/poweroff.service2
-rw-r--r--units/fedora/prefdm.service2
-rw-r--r--units/fedora/rc-local.service2
-rw-r--r--units/fedora/reboot.service2
-rw-r--r--units/fedora/sysinit.service2
-rw-r--r--units/getty@.service.m47
-rw-r--r--units/graphical.target.m47
-rw-r--r--units/multi-user.target.m47
11 files changed, 15 insertions, 27 deletions
diff --git a/units/basic.target.m4 b/units/basic.target.m4
index 437e33d5e6..c31a8f681e 100644
--- a/units/basic.target.m4
+++ b/units/basic.target.m4
@@ -21,8 +21,9 @@
Description=Basic System
Requires=local-fs.target swap.target sockets.target
After=local-fs.target swap.target sockets.target
-
+m4_dnl
m4_ifdef(`TARGET_FEDORA',
-# Hook in Fedora's /etc/rc.d/rc.sysinit
+m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
Requires=sysinit.service
-After=sysinit.service)
+After=sysinit.service
+)m4_dnl
diff --git a/units/fedora/halt.service b/units/fedora/halt.service
index 372b7e6f51..acc47b503d 100644
--- a/units/fedora/halt.service
+++ b/units/fedora/halt.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=Halt
Requires=shutdown.target killall.service
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 1a6d47f39c..45868dd173 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=Kill All Processes
diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service
index 82b9fac159..758b7ca237 100644
--- a/units/fedora/poweroff.service
+++ b/units/fedora/poweroff.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=Power-Off
Requires=shutdown.target killall.service
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 6ee35031d9..7df09ac84d 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=Display Manager
Before=graphical.target
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index b3ece1ed1b..099bbabcd6 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=/etc/rc.local Compatibility
Requires=basic.target
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 45a2934972..9aec7aaac6 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=Reboot
Requires=shutdown.target killall.service
diff --git a/units/fedora/sysinit.service b/units/fedora/sysinit.service
index fc71453007..0d59490f90 100644
--- a/units/fedora/sysinit.service
+++ b/units/fedora/sysinit.service
@@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-
[Unit]
Description=System Initialization
Before=local-fs.target remote-fs.target swap.target sockets.target
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index b4dfaf24e1..b95124880c 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -15,10 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-# See systemd.special(7) for details
-m4_ifdef(`TARGET_FEDORA', m4_define(`GETTY', `/sbin/mingetty'))m4_dnl
-m4_ifdef(`TARGET_DEBIAN', m4_define(`GETTY', `/sbin/getty 38400'))m4_dnl
-
+m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
+m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
+m4_dnl
[Unit]
Description=Getty on %I
Before=getty.target
diff --git a/units/graphical.target.m4 b/units/graphical.target.m4
index 151ad6bb12..cb8e811a8b 100644
--- a/units/graphical.target.m4
+++ b/units/graphical.target.m4
@@ -21,7 +21,8 @@
Description=Graphical Interface
Requires=multi-user.target
After=multi-user.target
-
+m4_dnl
m4_ifdef(`TARGET_FEDORA',
-# On Fedora Runlevel 5 is graphical login
-Names=runlevel5.target)
+m4_dnl On Fedora Runlevel 5 is graphical login
+Names=runlevel5.target
+)m4_dnl
diff --git a/units/multi-user.target.m4 b/units/multi-user.target.m4
index a841f9a964..b7f5f152ac 100644
--- a/units/multi-user.target.m4
+++ b/units/multi-user.target.m4
@@ -21,7 +21,8 @@
Description=Multi-User
Requires=basic.target
After=basic.target
-
+m4_dnl
m4_ifdef(`TARGET_FEDORA',
-# On Fedora Runlevel 3 is multi-user
-Names=runlevel3.target)
+m4_dnl On Fedora Runlevel 3 is multi-user
+Names=runlevel3.target
+)m4_dnl