#!/bin/bash
#remaster lib
[ -d "$LIBDIR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDIR"] || { echo "LIBDIR not exist"; exit 1; }

#check_user
function check_user() {
	#check root
	[ "`whoami`" == "root" ] || {
		echo "### ERROR ### Remaster need ROOT permision!"
		return 10
	}
}