#!/bin/sh -e
#
# This script is a part of the live-install package to copy ALT Linux system from LiveCD to harddisk
#
# Copyright (C) 2010-2011 Eugene Prokopiev  <enp@altlinux.org>
# Copyright (C) 2011      Michael Pozhidaev <msp@altlinux.org>

cd "$1"
/bin/rm -f ./etc/rc.d/rc.local
/bin/rm -f ./etc/issue
/bin/rm -f ./etc/mtab
/bin/touch /etc/mtab
/usr/bin/subst "/^REMOUNT_ROOTFS_RW_COMMAND/d" ./etc/sysconfig/init
