Home
last modified time | relevance | path

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

12

/external/ltp/testcases/commands/sssd/
Dsssd-lib.sh40 CONFIG_FILE="/etc/sssd/sssd.conf"
52 if [ -f "$CONFIG_FILE.ltpback" ]; then
53 if mv "$CONFIG_FILE.ltpback" "$CONFIG_FILE"; then
95 if [ -f "$CONFIG_FILE" ]; then
97 while [ -f "$CONFIG_FILE.ltpback" -a $WAIT_COUNT -gt 0 ]; do
105 elif ! cp "$CONFIG_FILE" "$CONFIG_FILE.ltpback"; then
106 tst_resm TBROK "failed to backup $CONFIG_FILE"
117 tst_resm TWARN "$CONFIG_FILE not found!"
118 touch $CONFIG_FILE
120 chmod 0600 $CONFIG_FILE
[all …]
Dsssd0379 sed -i -e "/\[nss\]/ a\allowed_shells = $LTPTMP/noshell" $CONFIG_FILE
109 sed -i -e "/\[nss\]/ a\allowed_shells = $LTPTMP/noshell" $CONFIG_FILE
110 sed -i -e "/\[nss\]/ a\shell_fallback = $line_shell" $CONFIG_FILE
140 sed -i -e "/\[nss\]/ a\vetoed_shells = $line_shell" $CONFIG_FILE
170 sed -i -e "/\[nss\]/ a\allowed_shells = $line_shell" $CONFIG_FILE
Dsssd0134 sed -i -e "/\[nss\]/ a\override_homedir = $LTPTMP" $CONFIG_FILE
67 $CONFIG_FILE
101 sed -i -e "/\[nss\]/ a\override_homedir = $LTPTMP/%f" $CONFIG_FILE
/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"
94 if [ -f "$CONFIG_FILE" ]; then
96 while [ -f "$CONFIG_FILE.ltpback" -a $WAIT_COUNT -gt 0 ]; do
104 elif ! cp "$CONFIG_FILE" "$CONFIG_FILE.ltpback"; then
105 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
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
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
/external/freetype/builds/windows/
Ddetect.mk91 CONFIG_FILE := w32-gcc.mk
119 CONFIG_FILE := w32-vcc.mk
126 CONFIG_FILE := w32-intl.mk
133 CONFIG_FILE := w32-wat.mk
140 CONFIG_FILE := w32-icc.mk
147 CONFIG_FILE := w32-lcc.mk
154 CONFIG_FILE := w32-mingw32.mk
161 CONFIG_FILE := w32-bcc.mk
168 CONFIG_FILE := w32-bccd.mk
175 CONFIG_FILE := w32-dev.mk
/external/freetype/builds/dos/
Ddetect.mk75 CONFIG_FILE := dos-gcc.mk
81 CONFIG_FILE := dos-emx.mk
88 CONFIG_FILE := dos-tcc.mk
95 CONFIG_FILE := dos-wat.mk
102 CONFIG_FILE := dos-bcc.mk
109 CONFIG_FILE := dos-bcc.mk
/external/freetype/builds/os2/
Ddetect.mk36 CONFIG_FILE := os2-gcc.mk
41 CONFIG_FILE := os2-icc.mk
48 CONFIG_FILE := os2-wat.mk
55 CONFIG_FILE := os2-bcc.mk
62 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;
413 open CONFIG_FILE, $opts{config} or
415 while (<CONFIG_FILE>) {
429 close CONFIG_FILE;
/external/freetype/builds/unix/
Ddetect.mk41 CONFIG_FILE := unix-dev.mk
51 CONFIG_FILE := unix-lcc.mk
70 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/autotest/server/hosts/
Dservo_repair.py40 CONFIG_FILE = '/var/lib/servod/config' variable in _ConfigVerifier
98 config_list = ['%s_%d' % (self.CONFIG_FILE, host.servo_port)]
100 config_list.append(self.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

12