Home
last modified time | relevance | path

Searched refs:motdfile (Results 1 – 25 of 47) sorted by relevance

12

/dports/games/quakeforge/quakeforge-0.7.2/doc/config/gib/
H A Dqfadmin.gib42 // motdfile <file> - File containing the motd
62 // qfadmin motdfile welcome.txt
183 } else if $(equal $cmd "motdfile") {
185 ifnot $(length ${config.motdfile}) {
190 echo "QFAdmin: motd file is \"", ${config.motdfile}, "\""
199 config.motdfile = $args[2]
215 echo " motdfile - file to read motd from"
414 if $(length ${config.motdfile}) {
415 if $(count $(file::find ${config.motdfile})) {
418 for motdline in $(split $(file::read ${config.motdfile}) "\n") {
/dports/irc/bitlbee/bitlbee-3.6/
H A Dconf.c64 conf->motdfile = g_strdup(ETCDIR "/motd.txt"); in conf_load()
192 g_free(conf->motdfile); in conf_free()
277 g_free(conf->motdfile); in conf_loadini()
278 conf->motdfile = g_strdup(ini->value); in conf_loadini()
H A Dconf.h47 char *motdfile; member
H A Dirc_send.c59 g_file_get_contents(global.conf->motdfile, &motd, &len, NULL); in irc_send_motd()
/dports/irc/bnc/bnc2.9.4/
H A Dexample.conf32 motdfile motd
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/isis/
H A Disis_misc.h61 char *motdfile; member
/dports/sysutils/linrename/util-linux-2.25.2/login-utils/
H A Dlogin.c240 char *motdlist, *motdfile; in motd() local
249 for (motdfile = strtok(motdlist, ":"); motdfile; in motd()
250 motdfile = strtok(NULL, ":")) { in motd()
255 if (stat(motdfile, &st) || !st.st_size) in motd()
257 fd = open(motdfile, O_RDONLY, 0); in motd()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dcommand.c423 if (host.motdfile) in config_write_host()
424 vty_out(vty, "banner motd file %s\n", host.motdfile); in config_write_host()
2095 XFREE(MTYPE_HOST, host.motdfile); in cmd_banner_motd_file()
2096 host.motdfile = XSTRDUP(MTYPE_HOST, file); in cmd_banner_motd_file()
2168 if (host.motdfile)
2169 XFREE(MTYPE_HOST, host.motdfile);
2170 host.motdfile = NULL;
2322 host.motdfile = NULL; in cmd_init()
2427 XFREE(MTYPE_HOST, host.motdfile); in cmd_terminate()
H A Dcommand.h79 char *motdfile; member
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dcommand.c423 if (host.motdfile) in config_write_host()
424 vty_out(vty, "banner motd file %s\n", host.motdfile); in config_write_host()
2095 XFREE(MTYPE_HOST, host.motdfile); in cmd_banner_motd_file()
2096 host.motdfile = XSTRDUP(MTYPE_HOST, file); in cmd_banner_motd_file()
2168 if (host.motdfile)
2169 XFREE(MTYPE_HOST, host.motdfile);
2170 host.motdfile = NULL;
2322 host.motdfile = NULL; in cmd_init()
2427 XFREE(MTYPE_HOST, host.motdfile); in cmd_terminate()
H A Dcommand.h79 char *motdfile; member
/dports/x11/xmotd/xmotd-1.17.3b/
H A Dmain.c246 updateTimeStamp(char *motdfile) in updateTimeStamp() argument
258 if(utime(motdfile,&ut)) in updateTimeStamp()
267 if((fp=fopen(motdfile,"w"))==NULL){ in updateTimeStamp()
/dports/net/quagga/quagga-1.2.4/lib/
H A Dcommand.c772 if (host.motdfile) in config_write_host()
773 vty_out (vty, "banner motd file %s%s", host.motdfile, VTY_NEWLINE); in config_write_host()
4015 if (host.motdfile)
4016 XFREE (MTYPE_HOST, host.motdfile);
4017 host.motdfile = XSTRDUP (MTYPE_HOST, argv[0]);
4041 if (host.motdfile)
4042 XFREE (MTYPE_HOST, host.motdfile);
4043 host.motdfile = NULL;
4145 host.motdfile = NULL; in cmd_init()
4336 if (host.motdfile) in cmd_terminate()
[all …]
H A Dcommand.h60 char *motdfile; member
/dports/irc/eggdrop/eggdrop-1.9.1/src/
H A Dchanprog.c46 extern char ver[], botnetnick[], firewall[], motdfile[], userfile[], helpdir[],
394 dprintf(idx, "Motd: %s\n", motdfile); in tell_settings()
H A Dmisc.c45 motdfile[], ver[], botnetnick[], bannerfile[], textdir[];
1381 if (!is_file(motdfile)) in show_motd()
1384 vv = fopen(motdfile, "r"); in show_motd()
H A Dtcl.c46 extern char origbotname[], botuser[], motdfile[], admin[], userfile[],
407 {"motd", motdfile, 120, STR_PROTECT},
/dports/irc/evangeline/evangeline-msa/src/
H A Dchanprog.c28 extern char ver[], botnetnick[], firewall[], motdfile[], userfile[], admin[],
328 dprintf(idx, "Motd: %s\n", motdfile); in tell_settings()
H A Dtcl.c30 extern char origbotname[], botuser[], motdfile[], admin[], userfile[], ver[],
425 {"motd", motdfile, 120, STR_PROTECT},
/dports/irc/evangeline/evangeline/src/
H A Dchanprog.c28 extern char ver[], botnetnick[], firewall[], motdfile[], userfile[], admin[], chanfile[],
328 dprintf(idx, "Motd: %s\n", motdfile); in tell_settings()
H A Dtcl.c30 extern char origbotname[], botuser[], motdfile[], admin[], userfile[], ver[],
427 {"motd", motdfile, 120, STR_PROTECT},
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/
H A Dprefs.c65 char const * motdfile; member
926 return prefs_runtime_config.motdfile; in prefs_get_motdfile()
931 return conf_set_str(&prefs_runtime_config.motdfile,valstr,NULL); in conf_set_motdfile()
936 return conf_set_str(&prefs_runtime_config.motdfile,NULL,BNETD_MOTD_FILE); in conf_setdef_motdfile()
941 return prefs_runtime_config.motdfile; in conf_get_motdfile()
/dports/games/alienarena/alienarena-7.66/source/game/
H A Dg_save.c293 motdfile = gi.cvar ("motdfile", "motd.txt", 0); in InitGame()
/dports/games/alienarena-data/alienarena-7.66/source/game/
H A Dg_save.c293 motdfile = gi.cvar ("motdfile", "motd.txt", 0); in InitGame()
/dports/irc/undernet-ircu/ircu2.10.12.19/ircd/
H A Dircd_parser.y1046 motditem: motdhost | motdfile;
1056 motdfile: TFILE '=' QSTRING ';'

12