Searched defs:script_env (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c186 static char *script_env[MAX_ENV_PARAMS]; variable
481 script_env[j++] = rcmscript_strdup("PATH=/usr/sbin:/usr/bin");
487 script_env[j] = (char *)rcmscript_malloc(len);
489 (void) snprintf(script_env[j++], len, "%s=%s",
495 script_env[j] = (char *)rcmscript_malloc(len);
504 (void) snprintf(script_env[j++], len, "RCM_ENV_DEBUG_LEVEL=%d", d);
506 script_env[j] = NULL;
1513 if (do_cmd(rsi, argv, script_env, &errmsg) == 0) {
1634 if (do_cmd(rsi, argv, script_env, error) == 0) {
1772 if (do_cmd(rsi, argv, script_env,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c166 char **script_env; /* Env. variable values for scripts */ variable
167 int s_env_nalloc; /* # words avail at script_env */
322 script_env = NULL;
1973 if (script_env != NULL) {
1974 while (*script_env != NULL) {
1975 if (putenv(*script_env) == -1)
1976 warn("unable to set %s for %s: %m", *script_env, program);
1977 script_env++;
2101 (void) execve(prog, args, script_env);
2289 if (script_env !
[all...]

Completed in 64 milliseconds