X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F02_timezone;h=bafc4266c9b621d6853835385ff1c973d09fcbab;hb=ccea277caf476cdfef4c0f953df5a97062d8be42;hp=873c1da974693f33309644ebd7f0b89e6f8ed6fe;hpb=3d52fbcb4fe70132ade14759d76573b471294800;p=live-boot-grml.git diff --git a/scripts/live-bottom/02_timezone b/scripts/live-bottom/02_timezone index 873c1da..bafc426 100755 --- a/scripts/live-bottom/02_timezone +++ b/scripts/live-bottom/02_timezone @@ -1,21 +1,31 @@ -#! /bin/sh +#!/bin/sh -PREREQ="" -DESCRIPTION="Setting timezone..." +#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 +# live-initramfs header + +. /scripts/live-functions + +log_begin_msg "Setting timezone..." + +# live-initramfs script + cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime + +log_end_msg