From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,de04356f32f9fe68 X-Google-Attributes: gidfee84,public From: dan@netrix.lkg.dec.com (Dan Harrington) Subject: Re: Autoexecute a command on startup ? Date: 1996/04/22 Message-ID: <4lg48m$m15@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 150980345 distribution: world references: <4lgcvc$r89@rockall.cc.strath.ac.uk> organization: Digital Equipment Corporation reply-to: dan@netrix.lkg.dec.com (Dan Harrington) newsgroups: comp.unix.osf.osf1 In article <4lgcvc$r89@rockall.cc.strath.ac.uk>, Alan Stewart writes: |>How do you get the machine to run a command every time it boots up, |>I am familiar with Ultrix and it's rc.local file is there an equivilant in |>OSF. On Digital UNIX the most straightforward thing to do would be to create a script in directory /sbin/rc3.d with a filename of the form S. In the course of booting to full multiuser mode the script will be called with the single argument "START". You can determine its order in the startup procedure by adding digits after the initial S in the filename. This is just the most crude method of achieving your goal...for the full description of customizing the system startup, check out the System Administration guide (Chapter 4 in the V3.0 doc set). Good luck! Dan Harrington