94c2c65 initscript(mainly): refined

Authored and Committed by jpokorny 13 years ago
    initscript(mainly): refined
    
    - two minor code issues fixed
      (mistake like "if [ $? -ne 0 ]; then return $?; fi")
    - taken closer to suggested template
      http://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscript_template
    - if available, pretty status printing success and failure are used,
      i.e.:
      Stop luci...                                               [  OK  ]
    - PID file now taken to more standard location:
      /etc/var/run/luci/luci.pid
      - previously: /var/lib/luci/data/luci.pid
      - it would be perhaps better to use /etc/var/run/luci.pid
        but there is a problem with permissions (application running as luci
        tries to remove this file when about to stop)
    
        
file modified
+10 -3
file modified
+1 -1