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 */
#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
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 */
if (req_nr == RS_UP) {
+ req_nr= RS_START;
+
rs_start.rss_flags= 0;
if (c_flag)
rs_start.rss_flags |= RF_COPY;