home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / radi116c.zip / radius116c / radius / runrad.cmd < prev    next >
OS/2 REXX Batch file  |  1998-05-04  |  472b  |  31 lines

  1. /* An OS/2 REXX script to Start and run the RADIUS server. (Restarts after crash) */
  2.  
  3. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  4. call SysLoadFuncs
  5.  
  6.  /* PARSE ARG options */
  7.  options="-v -n -p"
  8.  
  9. TRUE=1
  10. FALSE=0
  11.  
  12.  
  13. Quit=FALSE
  14.  
  15.  
  16.  
  17. Do Until Quit
  18.   Say "Calling Radius Daemon"
  19.   "@RADIUSd " options
  20.  
  21.   Say "07"x "Radius Ended"
  22.   Say "07"x "Will restart in 15 seconds unless you press CTRL+C NOW!!!"
  23.   CALL SysSleep(15)
  24.  
  25. END
  26.  
  27.  
  28. RETURN
  29.  
  30.  
  31.