#!/bin/bash

if [ "$USER" != "root" ]; then
    echo 'Error: you must run as root user'
    exit 1
fi

date
now=`date +'%m%d-%H%M'`
LANG=C livecd-creator \
    --config=./livecd-Momonga-desktop-i686.ks \
    --fslabel="Momonga-7-LiveCD-i686-$now" \
    > Momonga-7-LiveCD-i686-$now.log 2>&1
date
