summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/02etc_live_conf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/02etc_live_conf')
-rwxr-xr-xscripts/live-bottom/02etc_live_conf30
1 files changed, 19 insertions, 11 deletions
diff --git a/scripts/live-bottom/02etc_live_conf b/scripts/live-bottom/02etc_live_conf
index f0bbd96..e52d913 100755
--- a/scripts/live-bottom/02etc_live_conf
+++ b/scripts/live-bottom/02etc_live_conf
@@ -1,24 +1,30 @@
#!/bin/sh
-PREREQ=""
-DESCRIPTION="Copying config on real root fs..."
+#set -e
-. /scripts/live-functions
+# initramfs-tools header
+
+PREREQ=""
prereqs()
{
- echo "$PREREQ"
+ echo "${PREREQ}"
}
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
esac
-log_begin_msg "$DESCRIPTION"
+# live-initramfs header
+
+. /scripts/live-functions
+
+log_begin_msg "Copying config on real root fs..."
+
+# live-initramfs script
if [ -f /etc/live.conf ] ; then
if [ ! -z "${LIVECONF}" ]; then
@@ -37,3 +43,5 @@ export HOSTNAME="$HOSTNAME"
EOF
fi
+
+log_end_msg