Displaying 3 results from an estimated 3 matches for "showhelp".
Did you mean:
show_help
2016 Apr 13
1
[Fwd: Re: Samba_dlz, dhcp y zona inversa no actualiza]
...rectory_Domain_Controller#DHCP
sleep 5
checkvalues()
{
[ -z "${2}" ] && echo "Error: argument '${1}' requires a parameter." &&
exit 1
case ${2} in
-*)
echo "Error: Invalid parameter '${2}' passed to ${1}."
exit 1
;;
*)
return 0
;;
esac
}
showhelp()
{
echo -e "\n"`basename ${0}` "uses samba-tool to update DNS records in
Samba 4's DNS"
echo "server when using INTERNAL DNS or BIND9 DLZ plugin."
echo ""
echo " Command line options (and variables):"
echo ""
echo " -a | --action...
2008 Jan 16
1
menu(s) won't compile because of missing header file
If you cd to the /menu directory and type 'make' it
fails with this error:
libmenu/help.c:17:57: error: loadfile.h: No such file
or directory
libmenu/help.c: In function 'showhelp':
libmenu/help.c:99: warning: implicit declaration of
function 'loadfile'
make: *** [libmenu/help.o] Error 1
The problem can be averted by adding the proper header
location the file /menu/libmenu/help.c
Line 17 should be:
#include <syslinux/loadfile.h> // to read entire file
in...
2007 Dec 24
1
Question on menu/Makefile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Was just working with the latest 3.54, and find that the Makefile in the menu
directory didn't work until I added the /include/syslinux to the file.
< CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -
march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -
I$(COM32DIR)/include -I$(COM32DIR)/include/syslinux -Ilibmenu -
D__COM32__
-