Skip to content

Instantly share code, notes, and snippets.

View hongsea's full-sized avatar

Heng Hongsea hongsea

View GitHub Profile
subnet 192.168.10.0 netmask 255.255.255.0 {
authoritative;
default-lease-time 3600;
max-lease-time 3600;
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.10.10 192.168.10.200;
# option domain-name "hhs.com";
option domain-name-servers 192.168.10.24, 8.8.8.8, 8.8.4.4;
}
#!/bin/bash
#set -x
check_root_access(){
if [[ $(id -u) != 0 ]]; then
echo "This program run as root."
exit 0;
fi
}

Keybase proof

I hereby claim:

  • I am hongsea on github.
  • I am hongsea (https://keybase.io/hongsea) on keybase.
  • I have a public key ASCRj4vXrCXcBctw01ntlH56hZaRFq2UaCYps4qqXwj8vQo

To claim this, I am signing this object: