#!/bin/bash
if [ ! `id -u` = 0 ]
then
echo "you are not root"
exit 1
else
dhcp-lease-list --lease /var/lib/dhcp/dhcpd.leases
fi