Home
last modified time | relevance | path

Searched refs:CONFIG_FILE (Results 1 – 25 of 37) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslog0145 case "$CONFIG_FILE" in
47 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
48 echo "*.crit /var/log/messages" >> $CONFIG_FILE
49 echo "mail.info $MAILLOG" >> $CONFIG_FILE
54 udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
55 echo " " >> $CONFIG_FILE
56 echo " " >> $CONFIG_FILE
57 echo "# Added for syslog testcase" >> $CONFIG_FILE
58 echo "filter f_syslog { level(crit);};" >> $CONFIG_FILE
59 echo "filter f_syslogMail { level(info) and facility(mail); };" >> $CONFIG_FILE
[all …]
Dsyslog-lib.sh27 CONFIG_FILE=""
43 if [ -f "$CONFIG_FILE.ltpback" ]; then
44 if mv "$CONFIG_FILE.ltpback" "$CONFIG_FILE"; then
69 CONFIG_FILE="/etc/syslog.conf"
71 CONFIG_FILE="/etc/syslog-ng/syslog-ng.conf"
73 CONFIG_FILE="/etc/rsyslog.conf"
98 if [ -f "$CONFIG_FILE" ]; then
100 while [ -f "$CONFIG_FILE.ltpback" -a $WAIT_COUNT -gt 0 ]; do
108 elif ! cp "$CONFIG_FILE" "$CONFIG_FILE.ltpback"; then
109 tst_resm TBROK "failed to backup $CONFIG_FILE"
[all …]
Dsyslog0340 case "$CONFIG_FILE" in
42 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
43 echo "daemon.info /var/log/messages" >> $CONFIG_FILE
47 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
48 echo " " >> $CONFIG_FILE
49 echo "# Added for syslog testcase" >> $CONFIG_FILE
50 echo "filter f_syslog_daemon { level(info) and facility(daemon); }; " >> $CONFIG_FILE
51 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
52 …echo "log { source(src); filter(f_syslog_daemon); destination(syslog-messages);};" >> $CONFIG_FILE
Dsyslog0746 if [ $CONFIG_FILE = /etc/syslog.conf ]; then
56 case "$CONFIG_FILE" in
58 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
59 echo "user.debug /var/log/messages" >> $CONFIG_FILE
63 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
64 echo " " >> $CONFIG_FILE
65 echo " " >> $CONFIG_FILE
66 echo "# Added for syslog testcase" >> $CONFIG_FILE
67 echo "filter f_syslog_messages {facility(user); };" >> $CONFIG_FILE
68 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
[all …]
Dsyslog0852 case "$CONFIG_FILE" in
54 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
55 echo "$facility.info /var/log/messages" >> $CONFIG_FILE
56 echo "$facility.info /var/log/maillog" >> $CONFIG_FILE
60 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
61 echo "filter f_syslog-$facility { level(info) and facility($facility); };" >> $CONFIG_FILE
62 echo "destination syslog-messages { file(\"/var/log/messages\"); };" >> $CONFIG_FILE
63 echo "destination syslog-mail { file(\"/var/log/maillog\");};" >> $CONFIG_FILE
64 …echo "log { source(src); filter(f_syslog-$facility); destination(syslog-mail); };" >> $CONFIG_FILE
65 … "log { source(src); filter(f_syslog-$facility); destination(syslog-messages); };" >> $CONFIG_FILE
Dsyslog0440 case "$CONFIG_FILE" in
42 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
43 echo "user.info /var/log/messages" >> $CONFIG_FILE
47 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
48 echo " " >> $CONFIG_FILE
49 echo "filter f_syslog_user { level(info) and facility(user); };" >> $CONFIG_FILE
50 echo "destination syslog_messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
51 echo "log { source(src); filter(f_syslog_user); destination(syslog_messages);};" >> $CONFIG_FILE
Dsyslog0247 case "$CONFIG_FILE" in
50 echo "mail.$level $MAILLOG" >> $CONFIG_FILE
55 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
56 echo "mail.$level $MAILLOG" >> $CONFIG_FILE
60 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
61 echo "filter f_syslog_$level { level($level) and facility(mail); };" >> $CONFIG_FILE
62 echo "destination syslog-$level { file(\"$MAILLOG\"); };" >> $CONFIG_FILE
63 …cho "log { source(src); filter(f_syslog_$level); destination(syslog-$level); };" >> $CONFIG_FILE;;
Dsyslog0645 case "$CONFIG_FILE" in
47 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
48 echo "user.info /var/log/messages" >> $CONFIG_FILE
52 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
53 echo "filter f_syslog_user { level(info) and facility(user); };">> $CONFIG_FILE
54 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
55 echo "log { source(src); filter(f_syslog_user); destination(syslog-messages);};" >> $CONFIG_FILE
Dsyslog0545 case "$CONFIG_FILE" in
47 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
48 echo "user.info /var/log/messages" >> $CONFIG_FILE
52 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
53 echo "filter f_syslog_user { level(info) and facility(user); };" >> $CONFIG_FILE
54 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
55 echo "log { source(src); filter(f_syslog_user); destination(syslog-messages);};" >> $CONFIG_FILE
Dsyslog0942 case "$CONFIG_FILE" in
44 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
45 echo "user.debug /var/log/messages" >> $CONFIG_FILE
49 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
51 echo "filter f_syslog_debug { facility(user); };" >> $CONFIG_FILE
52 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
53 echo "log { source(src); filter(f_syslog_debug); destination(syslog-messages);};" >> $CONFIG_FILE
Dsyslog1043 case "$CONFIG_FILE" in
45 echo "$RSYSLOG_CONFIG" > $CONFIG_FILE
46 echo "user.debug /var/log/messages" >> $CONFIG_FILE
50 …ource src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CONFIG_FILE
51 echo "filter f_syslog_debug{ facility(user); };" >> $CONFIG_FILE
52 echo "destination syslog_messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
53 echo "log { source(src); filter(f_syslog_debug); destination(syslog_messages); };" >> $CONFIG_FILE
/external/freetype/builds/windows/
Ddetect.mk91 CONFIG_FILE := w32-gcc.mk
119 CONFIG_FILE := w32-vcc.mk
128 CONFIG_FILE := w32-intl.mk
137 CONFIG_FILE := w32-wat.mk
146 CONFIG_FILE := w32-icc.mk
155 CONFIG_FILE := w32-lcc.mk
164 CONFIG_FILE := w32-mingw32.mk
173 CONFIG_FILE := w32-bcc.mk
182 CONFIG_FILE := w32-bccd.mk
191 CONFIG_FILE := w32-dev.mk
/external/u-boot/tools/env/
Dfw_env_main.c71 #ifdef CONFIG_FILE in usage_printenv()
72 " -c, --config configuration file, default:" CONFIG_FILE "\n" in usage_printenv()
87 #ifdef CONFIG_FILE in usage_env_set()
88 " -c, --config configuration file, default:" CONFIG_FILE "\n" in usage_env_set()
118 #ifdef CONFIG_FILE in parse_common_args()
119 env_opts.config_file = CONFIG_FILE; in parse_common_args()
125 #ifdef CONFIG_FILE in parse_common_args()
Dfw_env_private.h24 #define CONFIG_FILE "/etc/fw_env.config" macro
26 #ifndef CONFIG_FILE
/external/freetype/builds/dos/
Ddetect.mk75 CONFIG_FILE := dos-gcc.mk
81 CONFIG_FILE := dos-emx.mk
90 CONFIG_FILE := dos-tcc.mk
99 CONFIG_FILE := dos-wat.mk
108 CONFIG_FILE := dos-bcc.mk
117 CONFIG_FILE := dos-bcc.mk
/external/freetype/builds/os2/
Ddetect.mk36 CONFIG_FILE := os2-gcc.mk
41 CONFIG_FILE := os2-icc.mk
50 CONFIG_FILE := os2-wat.mk
59 CONFIG_FILE := os2-bcc.mk
68 CONFIG_FILE := os2-dev.mk
/external/libvpx/libvpx/build/make/
Drtcd.pl56 open CONFIG_FILE, $opts{config} or
60 while (<CONFIG_FILE>) {
66 close CONFIG_FILE;
414 open CONFIG_FILE, $opts{config} or
416 while (<CONFIG_FILE>) {
430 close CONFIG_FILE;
/external/freetype/builds/unix/
Ddetect.mk41 CONFIG_FILE := unix-dev.mk
53 CONFIG_FILE := unix-lcc.mk
74 CONFIG_FILE := unix.mk
/external/freetype/builds/
Ddetect.mk53 CONFIG_RULES = $(BUILD_DIR)/$(CONFIG_FILE)
98 ifndef CONFIG_FILE
99 CONFIG_FILE := ansi.mk
/external/autotest/site_utils/rpm_control_system/
Dconfig.py8 CONFIG_FILE = os.path.join(os.path.dirname(__file__), 'rpm_config.ini') variable
10 rpm_config.read(CONFIG_FILE)
/external/autotest/client/cros/
Dhostapd_server.py43 CONFIG_FILE = 'hostapd.conf' variable in HostapdServer
111 ( self.CONFIG_FILE, self.CONFIG_TEMPLATE % config_params),
120 return '%s/%s' % (self._config_directory, self.CONFIG_FILE)
/external/libaom/libaom/build/cmake/
Drtcd.pl56 open CONFIG_FILE, $opts{config} or
60 while (<CONFIG_FILE>) {
71 close CONFIG_FILE;
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c60 #define CONFIG_FILE "/etc/mdnsd.conf" macro
102 ReadDDNSSettingsFromConfFile(m, CONFIG_FILE, &DynDNSHostname, &DynDNSZone, NULL); in Reconfigure()
/external/freetype/builds/beos/
Ddetect.mk34 CONFIG_FILE := beos.mk
/external/autotest/server/hosts/
Dservo_repair.py40 CONFIG_FILE = '/var/lib/servod/config' variable in _ConfigVerifier
95 return '%s_%d' % (self.CONFIG_FILE, host.servo_port)

12