Ignore:
Timestamp:
Apr 5, 2017, 9:46:39 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #416 (initscript issue on RedHat).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/init/samhain.startLinux.in

    r481 r521  
    4040# and the command to run them.
    4141if [ -f /etc/redhat-release ]; then
     42    if [ -f /etc/init.d/functions ]; then
    4243        . /etc/init.d/functions
    4344        DISTRO=redhat
     45    elif [ -f /etc/rc.d/init.d/functions ]; then
     46        . /etc/rc.d/init.d/functions
     47        DISTRO=redhat
     48    else
     49        DISTRO=generic
     50    fi
    4451elif [ -f /etc/mandrake-release ]; then
    4552        . /etc/init.d/functions
Note: See TracChangeset for help on using the changeset viewer.