From 07ee53564654580940919fc3b57538ee0ef36791 Mon Sep 17 00:00:00 2001 From: TomasM Date: Fri, 27 Oct 2017 05:22:21 -0400 Subject: [PATCH] option to enable network support in initrd --- Slax/debian/cleanup | 2 ++ config | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Slax/debian/cleanup b/Slax/debian/cleanup index 8528758..fcd6b6e 100644 --- a/Slax/debian/cleanup +++ b/Slax/debian/cleanup @@ -1,5 +1,7 @@ #!/bin/bash +rm -f /etc/fstab +rm -f /etc/mtab rm -Rf /etc/systemd/system/timers.target.wants rm -f /var/backups/* diff --git a/config b/config index ec93a84..85eeef0 100644 --- a/config +++ b/config @@ -29,8 +29,11 @@ KERNEL=$(uname -r) # Exclude directories like proc sys tmp MKMOD="bin etc home lib lib64 opt root sbin srv usr var" -# List of files and directories you'd like to exclude from your Live Kit -EXCLUDE="/etc/fstab /etc/mtab" +# If you require network support in initrd, for example to boot over +# PXE or to load data using 'from' boot parameter from a http server, +# you will need network modules included in your initrd. +# To enable, set to true +NETWORK=false # Temporary directory to store livekit filesystem LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$