From 6b098dc017a69cac78a4f56c497c717cb72e4508 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Aug 2016 16:12:42 +0100 Subject: enable systemservices at iso creation --- libkvasile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libkvasile') diff --git a/libkvasile b/libkvasile index 73ea8d7..c2e496e 100755 --- a/libkvasile +++ b/libkvasile @@ -184,6 +184,12 @@ isochainload () { chroot "$isosyncdir" su - "$isouser" -c "$isochainloadcmd" } +isoservices () { + for service in cups kogaionlive lightdm NetworkManager virtualbox-guest-additions ; do + chroot "$isosyncdir" su - "$isouser" -c "systemctl enable "$service"" + done +} + isochroot () { echo -e "" echo -e "DROPPING YOU TO A ROOT SHELL INTO ISO ENVIRONMENT" -- cgit v1.2.3