live-systems.org/gitweb
/
live-debconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9d283
)
Bailout early in sysvinit script if system is not using sysvinit in the first place.
author
Daniel Baumann
<daniel@debian.org>
Thu, 6 Dec 2012 16:06:56 +0000
(17:06 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 6 Dec 2012 16:21:51 +0000
(17:21 +0100)
scripts/debconfig/0030-sysvinit
patch
|
blob
|
blame
|
history
diff --git
a/scripts/debconfig/0030-sysvinit
b/scripts/debconfig/0030-sysvinit
index
1459897
..
df9ed9c
100755
(executable)
--- a/
scripts/debconfig/0030-sysvinit
+++ b/
scripts/debconfig/0030-sysvinit
@@
-15,6
+15,12
@@
export DEBCONF_SYSTEMRC
. /usr/share/debconf/confmodule
+if [ ! -e /usr/share/sysvinit/inittab ]
+then
+ # System does not use sysvinit
+ exit 0
+fi
+
Defaults ()
{
_LXC_ENABLE="${_LXC_ENABLE:-false}"