![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| start a program with other user's permission | srikanthus2002 | Shell Programming and Scripting | 3 | 05-21-2007 03:20 AM |
| How can I make a program start up automatically after the computer restart/startup? | munna_dude | Shell Programming and Scripting | 1 | 02-07-2007 06:13 AM |
| Where Do I Start? | tnecius | UNIX for Dummies Questions & Answers | 1 | 10-08-2006 07:24 AM |
| where to put an application if i want to start it on start up | shukla_chanchal | Linux | 3 | 11-03-2005 07:12 PM |
| Were do I start? | pcoste | UNIX for Dummies Questions & Answers | 1 | 08-26-2001 01:26 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I start a program when I start my Computer?
I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know?
__________________
[url=http://www.macfixer.net][img]http://badges.macfixer.net/forumbadge.gif[/img][/url] |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You can write a script and place it under your /etc/rc2.d/ It will execute upon startup.
Code:
#!/bin/sh
state=$1
case $state in
'start')
ulimit -n 512
/usr/tmp/nixey/ -bd # start nixey
;;
'stop')
kill -15 `cat /etc/shield.pid`
;;
*)
echo "Usage: S96shield { start | stop }"
;;
esac
|
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|