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