X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=shared_prog_vars;h=9f5d29c09ed864477baadb994bbad2191be005b4;hb=393501a913872e87da98e57e33bc3d7bba8128a6;hp=1573b512d9c67b9cd9e79a6dabb9d17ac1379122;hpb=3d2c6036d7453b108475d2936877060e153e68a5;p=grml-terminalserver.git diff --git a/shared_prog_vars b/shared_prog_vars index 1573b51..9f5d29c 100644 --- a/shared_prog_vars +++ b/shared_prog_vars @@ -41,7 +41,12 @@ DIALOG_="dialog" CONFIG_PROG_="/usr/sbin/grml-terminalserver-config" # vars for dhcpd -DHCPD_BIN_="/usr/sbin/dhcpd3" +if [ -x /usr/sbin/dhcpd3 ] ; then + DHCPD_BIN_="/usr/sbin/dhcpd3" +else + DHCPD_BIN_="/usr/sbin/dhcpd" +fi + DHCPD_CONFIG_FILE_="$PATH_/dhcpd.conf" DHCPD_PID_="/var/run/dhcpd.pid" @@ -58,18 +63,5 @@ TFTPD_PID_="/var/run/grml-tftpd.pid" # the dir where the templates for the configuration files are stored TEMPLATE_CONFIG_DIR_="$USR_SHARE_/templates" -# maximum initrd size -MAX_INITRD_SIZE_=16000 - -# path to uclibc -UCLIBC_PATH_="/usr/i386-uclibc-linux/lib" - -# this is where the terminalserver-config creates the initrd -INITRD_="$PATH_/mini-root" - -# only for this cards (kernel module names of drivers) drivers are copied into -# the initrd -CARDS_DETECTED_BY_DISCOVER="$PATH_/discover_netcards" - # as long as this pattern is in a config file, it will be overwritten every time CONFIG_PATTERN_="__PLEASE_UPDATE_THIS_FILE__"