Works on all my Linux (Fedora, Centos, Debian) boxes.<br><br><a href="http://pastebin.com/m50937662">http://pastebin.com/m50937662</a><br><br>#!/bin/sh<br>PATH=$PATH:/bin:/usr/bin                # FOR su<div class="de2">STARTDIR=/home/hobbituser/client<br>

USERNAME=myhobbituser<br></div>STARTBIN=runclient.sh<br><br>case "$1" in<br>start)<br>        su - $USERNAME -c "cd $STARTDIR;./$STARTBIN start"<br>        #&SLEEP<br>        ;;<br>restart)<br>        su - $USERNAME -c "cd $STARTDIR;./$STARTBIN restart"<br>

        #&SLEEP<br>        ;;<br>stop)<br>        su - $USERNAME -c "cd $STARTDIR;./$STARTBIN stop"<br>        ;;<br>*)<br>        echo "Usage: $0 {start|stop|restart}"<br>        exit 1<br>        ;;<br>

esac<br><br>exit 0<br><br clear="all">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>"When you have eliminated the impossible, that which remains, however improbable, must be the truth."<br>

--- Sir Arthur Conan Doyle<br>
<br><br><div class="gmail_quote">On Mon, Sep 14, 2009 at 1:26 PM, Camelia Anghel <span dir="ltr"><<a href="mailto:canghel@cjh.org">canghel@cjh.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Hello everyone,<br>
Does anyone has a startup script for Solaris 10 or Linux?<br>
I noticed that my clients become purple after a server restart...<br>
Thanks,<br>
Camelia<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</blockquote></div><br>