Lines Matching defs:setup_script
1032 static int launch_script(const char *setup_script, const char *ifname, int fd);
1331 static int launch_script(const char *setup_script, const char *ifname, int fd)
1356 *parg++ = (char *)setup_script;
1359 execv(setup_script, args);
1371 fprintf(stderr, "%s: could not launch network script\n", setup_script);
1377 const char *setup_script, const char *down_script)
1391 if (!setup_script || !strcmp(setup_script, "no"))
1392 setup_script = "";
1393 if (setup_script[0] != '\0') {
1394 if (launch_script(setup_script, ifname, fd))
1400 ifname, setup_script, down_script);
2236 char setup_script[1024], down_script[1024];
2261 if (get_param_value(setup_script, sizeof(setup_script), "script", p) == 0) {
2262 pstrcpy(setup_script, sizeof(setup_script), DEFAULT_NETWORK_SCRIPT);
2267 ret = net_tap_init(vlan, device, name, ifname, setup_script, down_script);