#!/bin/sh

apt-get install mercurial -y
cd /
hg init
umount /proc
hg commit -Am 'Initial tracking' -X /tmp -X /var/cache -X /dev
/bin/sh
hg status
read -n1 -p 'Do you want to diff changes [y/N] ? ' -t 5
if [[ $REPLY == "y" ]]; then
	hg diff
fi
#mount none /proc -t proc
