Hack in service to use RS_START instead of RS_UP. RS reports the use of RS_UP.
This commit is contained in:
parent
2db15eaa80
commit
56a68dc32b
@ -59,6 +59,8 @@ int flags; /* extra flags, if any */
|
||||
int r;
|
||||
endpoint_t ep; /* new endpoint no. */
|
||||
|
||||
printf("RS: in do_up\n");
|
||||
|
||||
/* See if there is a free entry in the table with system processes. */
|
||||
for (slot_nr = 0; slot_nr < NR_SYS_PROCS; slot_nr++) {
|
||||
rp = &rproc[slot_nr]; /* get pointer to slot */
|
||||
|
@ -43,6 +43,7 @@ PRIVATE char *known_requests[] = {
|
||||
|
||||
#define RUN_CMD "run"
|
||||
#define RUN_SCRIPT "/etc/rs.single" /* Default script for 'run' */
|
||||
#define PATH_CONFIG "/etc/drivers.conf" /* Default config file */
|
||||
|
||||
/* Define names for arguments provided to this utility. The first few
|
||||
* arguments are required and have a known index. Thereafter, some optional
|
||||
@ -86,7 +87,7 @@ PRIVATE int req_major;
|
||||
PRIVATE long req_period;
|
||||
PRIVATE char *req_script;
|
||||
PRIVATE char *req_label;
|
||||
PRIVATE char *req_config;
|
||||
PRIVATE char *req_config = PATH_CONFIG;
|
||||
PRIVATE int req_printep;
|
||||
PRIVATE int class_recurs; /* Nesting level of class statements */
|
||||
|
||||
@ -178,6 +179,8 @@ PRIVATE int parse_arguments(int argc, char **argv)
|
||||
|
||||
if (req_nr == RS_UP) {
|
||||
|
||||
req_nr= RS_START;
|
||||
|
||||
rs_start.rss_flags= 0;
|
||||
if (c_flag)
|
||||
rs_start.rss_flags |= RF_COPY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user