Searched refs:svdir (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/runit/
H A Drunsvdir.c46 static char *svdir; variable
59 bb_perror_msg_and_die("%s: fatal: cannot %s%s", svdir, m1, m2);
64 bb_error_msg("%s: warning: %s%s%s", svdir, m1, m2, m3);
120 warn2_cannot("open directory ", svdir);
164 warn2_cannot("read directory ", svdir);
237 svdir = *argv++;
273 if (stat(svdir, &s) != -1) {
277 /* svdir modified */
278 if (chdir(svdir) != -1) {
291 warn2_cannot("change directory to ", svdir);
[all...]
H A Drunsv.c79 struct svdir { struct
91 static struct svdir svd[2];
157 static void update_status(struct svdir *s)
246 static unsigned custom(struct svdir *s, char c)
286 static void stopservice(struct svdir *s)
304 static void startservice(struct svdir *s)
352 static int ctrl(struct svdir *s, char c)

Completed in 129 milliseconds