/
shared_prog_vars
80 lines (56 loc) · 1.88 KB
/
shared_prog_vars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/sh i like syntaxhighlighting ;)
# this is a shellscript fragment
# !!! DO NOT EDIT THIS FILE !!!
# only if you know what you are doing...
###
## shared config vars
###
# language
LANG_=en
# main path from terminalserver
PATH_="/etc/grml/terminalserver"
# config file produced from configuration program
CONF_FILE_="$PATH_/terminalserver.conf"
# user editable config
CONFIG_="$PATH_/config"
# 'data dir' from terminalserver
USR_SHARE_="/usr/share/grml-terminalserver"
# defaults for vars in terminalserver.conf
DEFAULT_CONFIG_="$USR_SHARE_/default_config"
# title for dialog
BACK_TITLE_="GRML TERMINAL-SERVER CONFIGURATION"
# program to use for user questions (x)dialog
DIALOG_="dialog"
###
## grml-terminalserver
###
# program to create $CONF_FILE_
CONFIG_PROG_="/usr/sbin/grml-terminalserver-config"
# vars for dhcpd
DHCPD_BIN_="/usr/sbin/dhcpd3"
DHCPD_CONFIG_FILE_="$PATH_/dhcpd.conf"
DHCPD_PID_=/var/run/dhcpd.pid
# vars for tftpd
TFTPD_BIN_="/usr/sbin/in.tftpd"
TFTPD_DATA_DIR_="/var/lib/tftpboot"
TFTPD_PID_="/var/run/grml-tftpd.pid"
###
## grml-terminalserver-config
###
# the dir where the templates for the configuration files are stored
TEMPLATE_CONFIG_DIR_="$USR_SHARE_/templates"
# this file provides which nic's grub is able to boot from and sane defaults
GRUB_NIC_CONF_="$USR_SHARE_/grub_cards"
# this file is provided by another debian package (grml-terminalserver-data)
GRUB_SOURCE_="$USR_SHARE_/grub-0.96.tar.gz"
# 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__"