Changes between Version 4 and Version 5 of InitdScriptForLinux


Ignore:
Timestamp:
Nov 10, 2008, 1:07:44 AM (15 years ago)
Author:
djensen47
Comment:

I added a "comment" about the fact that let is for ksh so you need something else for sh.

Legend:

Unmodified
Added
Removed
Modified
  • InitdScriptForLinux

    v4 v5  
    155155    * The script is known to be working in '''Debian''' and '''Ubuntu''' based systems, but will not work on '''Gentoo''' due to it's particular init.d system.
    156156    * It should work at is in other '''!RedHat based systems''' (Mandriva, Suse,...), although this has not been confirmed. (Note: At least on !RedHat EL4, you must {{{ source /etc/rc.d/init.d/functions }}} and change {{{ start-stop-daemon }}} to {{{ daemon }}} and adjust accordingly.
     157
     158== Some More Comments ==
     159The script above uses "let" which appears to be a ksh comment. If your rot user is not setup for ksh, the script might not work.
     160
     161Replace:
     162{{{
     163let "PORT = $PORT + 1"
     164}}}
     165With:
     166{{{
     167PORT=`expr $PORT + 1`
     168}}}
Back to Top