summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-30 22:45:46 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-30 23:04:36 +0200
commit2528a7a62c4ad9b2f4773b608d208239299da50c (patch)
treede5fa60c236e8da0df509d1583fb5369ae66828f /units
parentb2bb3dbed9607c440b1a9ccacc515e28136d39ae (diff)
unit: introduce AllowIsolate= switch
Diffstat (limited to 'units')
-rw-r--r--units/emergency.target1
-rw-r--r--units/graphical.target.m41
-rw-r--r--units/halt.target1
-rw-r--r--units/multi-user.target.m41
-rw-r--r--units/poweroff.target1
-rw-r--r--units/reboot.target1
-rw-r--r--units/rescue.target1
7 files changed, 7 insertions, 0 deletions
diff --git a/units/emergency.target b/units/emergency.target
index 5bf2ae236b..6a99e05f03 100644
--- a/units/emergency.target
+++ b/units/emergency.target
@@ -11,3 +11,4 @@
Description=Emergency Mode
Requires=emergency.service
After=emergency.service
+AllowIsolate=yes
diff --git a/units/graphical.target.m4 b/units/graphical.target.m4
index a80fecfc63..97c01ce1ec 100644
--- a/units/graphical.target.m4
+++ b/units/graphical.target.m4
@@ -20,6 +20,7 @@ Names=runlevel5.target
m4_ifdef(`TARGET_SUSE',
Names=runlevel5.target
)m4_dnl
+AllowIsolate=yes
[Install]
Alias=default.target
diff --git a/units/halt.target b/units/halt.target
index 77b4044229..70e90fedde 100644
--- a/units/halt.target
+++ b/units/halt.target
@@ -11,6 +11,7 @@
Description=Halt
Requires=halt.service
After=halt.service
+AllowIsolate=yes
[Install]
Alias=ctrl-alt-del.target
diff --git a/units/multi-user.target.m4 b/units/multi-user.target.m4
index 6f384fe165..48c21d23f9 100644
--- a/units/multi-user.target.m4
+++ b/units/multi-user.target.m4
@@ -20,6 +20,7 @@ Names=runlevel3.target
m4_ifdef(`TARGET_SUSE',
Names=runlevel3.target
)m4_dnl
+AllowIsolate=yes
[Install]
Alias=default.target
diff --git a/units/poweroff.target b/units/poweroff.target
index b2b56b2893..cb9460639f 100644
--- a/units/poweroff.target
+++ b/units/poweroff.target
@@ -12,6 +12,7 @@ Description=Power-Off
Names=runlevel0.target
Requires=poweroff.service
After=poweroff.service
+AllowIsolate=yes
[Install]
Alias=ctrl-alt-del.target
diff --git a/units/reboot.target b/units/reboot.target
index b3be52ff90..855751306d 100644
--- a/units/reboot.target
+++ b/units/reboot.target
@@ -12,6 +12,7 @@ Description=Reboot
Names=runlevel6.target
Requires=reboot.service
After=reboot.service
+AllowIsolate=yes
[Install]
Alias=ctrl-alt-del.target
diff --git a/units/rescue.target b/units/rescue.target
index 2694856c66..810fa14da7 100644
--- a/units/rescue.target
+++ b/units/rescue.target
@@ -12,6 +12,7 @@ Description=Rescue Mode
Requires=sysinit.target local-fs.target swap.target
After=sysinit.target local-fs.target swap.target
Names=runlevel1.target
+AllowIsolate=yes
[Install]
Alias=kbrequest.target