jailsetup: use portable getent implementation
authorKyle J. McKay <mackyle@gmail.com>
Sat, 24 Aug 2013 03:12:41 +0000 (20:12 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 24 Aug 2013 03:12:41 +0000 (20:12 -0700)
commit1997a2d19506e2070fddf5b07e604d629cf01da3
tree3bc9cd8cc5ccb071e1dec307cdf87e89dc76a95e
parentd7d01b66897a86857ade2f118154225d31650300
jailsetup: use portable getent implementation

Not all systems have a getent utility.  Since this utility is only
used by the jailsetup.sh script, replace it with a limited emulation
of getent that should compile on all systems and supports the use
jailsetup.sh makes of it.
install.sh
jailsetup.sh
src/.gitignore
src/Makefile
src/getent.c [new file with mode: 0644]