#!/bin/bash

mkdir /live/dev /live/sys /live/run /live/proc
#mount -o bind /tmp /live/tmp
mount -o bind /dev /live/dev
mount -o bind /sys /live/sys
mount -o bind /run /live/run
mount -o bind /proc /live/proc

umount -l /dev /sys /run /proc
gobohide -h /*
gobohide -u /home
#mount -o bind /live/tmp /tmp
mount -o bind /live/dev /dev
mount -o bind /live/sys /sys
mount -o bind /live/run /run
mount -o bind /live/proc /proc

#umount /live/tmp
umount /live/dev
umount /live/sys
umount /live/run
umount /live/proc

