home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / att / 2062 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.9 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!iscsvax.uni.edu!venenga
  2. From: venenga@iscsvax.uni.edu (Jay Venenga - University of Northern Iowa)
  3. Newsgroups: comp.sys.att
  4. Subject: Starting a shell script at machine boot
  5. Message-ID: <1992Aug21.072948.6159@iscsvax.uni.edu>
  6. Date: 21 Aug 92 12:29:48 GMT
  7. Organization: University of Northern Iowa
  8. Lines: 28
  9.  
  10. 3B2 experts, I need some help.  
  11.  
  12. I am running a 3B2/500, System V R3.2.1, with Wollongong's 3.2 TCP/IP package. 
  13. I have a shell script that I start by hand every time I reboot/start the system
  14. with the command 'nohup monitor &'.  What I want to do is start this guy
  15. automatically at startup.  I put it in /etc/rc3.d/S86win3b, but it does not
  16. behave properly, in that the script puts output to a tty, and the ttys are not
  17. reset until later in the startup process.  So, I tried putting the command 'at
  18. now + 5 minutes ./startmon' in S86win3b (startmon had the nohup command as
  19. its only line, and it was executable).  I saw the job in the at queue after the
  20. machine came up, but when it was time for the job to start, the disk made some
  21. noise, but no process was ever started, and no error messages produced.  My
  22. question to you wizards are, how can I queue something to start from S86win3b. 
  23. My script has no input from any keyboard.  Any help would be greatly
  24. appreciated.  Thanks in advance.
  25.  
  26. -jay
  27.  
  28. ===========================================================================
  29. Jay Venenga                              Internet: venenga@uni.edu
  30. Systems Programmer                             or: venenga@iscsvax.uni.edu
  31. Information Systems and Computing Services
  32. University of Northern Iowa             USWestNet: (319) 273-2008
  33. Cedar Falls, IA  50614-0509                   FAX: (319) 273-3509
  34.  
  35. Disclaimer:  Standard
  36. Funny Saying:  None
  37. ===========================================================================
  38.