Lines Matching refs:setup_script
1160 static int launch_script(const char *setup_script, const char *ifname, int fd);
1459 static int launch_script(const char *setup_script, const char *ifname, int fd)
1484 *parg++ = (char *)setup_script;
1487 execv(setup_script, args);
1499 fprintf(stderr, "%s: could not launch network script\n", setup_script);
1505 const char *setup_script, const char *down_script)
1519 if (!setup_script || !strcmp(setup_script, "no"))
1520 setup_script = "";
1521 if (setup_script[0] != '\0') {
1522 if (launch_script(setup_script, ifname, fd))
1528 ifname, setup_script, down_script);
2340 char setup_script[1024], down_script[1024];
2365 if (get_param_value(setup_script, sizeof(setup_script), "script", p) == 0) {
2366 pstrcpy(setup_script, sizeof(setup_script), DEFAULT_NETWORK_SCRIPT);
2371 ret = net_tap_init(vlan, device, name, ifname, setup_script, down_script);