Lines Matching defs:cmdline
55 char cmdline[254+1];
75 snprintf (cmdline, sizeof (cmdline), "%s %s %s IN %s", RELOADCMD, action, domain, z->view);
77 snprintf (cmdline, sizeof (cmdline), "%s %s %s", RELOADCMD, action, domain);
79 verbmesg (2, z, "\t Run cmd \"%s\"\n", cmdline);
83 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
102 char cmdline[254+1];
144 snprintf (cmdline, sizeof (cmdline), "%s distkeys %s %s %s",
149 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
150 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
163 snprintf (cmdline, sizeof (cmdline), "%s distribute %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
168 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
169 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
178 snprintf (cmdline, sizeof (cmdline), "%s reload %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
183 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
184 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )
198 char cmdline[254+1];
213 snprintf (cmdline, sizeof (cmdline), "%s reload %s IN %s", RELOADCMD, domain, z->view);
215 snprintf (cmdline, sizeof (cmdline), "%s reload %s", RELOADCMD, domain);
220 verbmesg (2, z, "\t Run cmd \"%s\"\n", cmdline);
221 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL )