summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-02-09 11:37:21 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:42 +0100
commit2159e3fba790bd0fd5da866acac3ead7b200e26e (patch)
treea3d6042c94bb1e42c564dfcee56b30aca9206334 /functions
parent774d8c5f8c68f2ff3927041bf21d8bd8882a3de3 (diff)
downloadvyos-live-build-2159e3fba790bd0fd5da866acac3ead7b200e26e.tar.gz
vyos-live-build-2159e3fba790bd0fd5da866acac3ead7b200e26e.zip
Adding initial support for making initsystem configurable.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 2aaba2c3a..4e97816b0 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -147,6 +147,9 @@ Set_defaults ()
;;
esac
+ # Setting initsystem
+ LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}"
+
# Setting fdisk
if [ -z "${LB_FDISK}" ] || [ ! -x "${LB_FDISK}" ]
then