Bash Utilities
#!bin/bash
function check_root {
$ROOT_ID="0";
if [ $ROOT_ID -ne $UID ]; then
echo "please run as root";
exit 1
fi
}INFO
#!bin/bash
function check_root {
$ROOT_ID="0";
if [ $ROOT_ID -ne $UID ]; then
echo "please run as root";
exit 1
fi
}