Changes between Version 4 and Version 5 of InitdScriptForLinux
- Timestamp:
- Nov 10, 2008, 1:07:44 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InitdScriptForLinux
v4 v5 155 155 * 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. 156 156 * 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 == 159 The 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 161 Replace: 162 {{{ 163 let "PORT = $PORT + 1" 164 }}} 165 With: 166 {{{ 167 PORT=`expr $PORT + 1` 168 }}}