[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running a program at system startup



On Mon, 20 Aug 2007, ArcticFox wrote:


On Aug 20, 2007, at 2:15 PM, Neil Watson wrote:

The scripts in /etc/init.d are working examples of what you are trying to do.

Yea I was directed there before, but those are what I was talking about where they don't do the two things I need them to do.

what about something like this:

#!/bin/sh
cd /to/your/dir
/bin/su -c "./yourapp" user-to-run-as


-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.



Reply to: