Changeset 521


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

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

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r516 r521  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 4.2.0)
     14AM_INIT_AUTOMAKE(samhain, 4.2.1)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
  • trunk/docs/Changelog

    r520 r521  
    114.2.1:
     2        * fix dependency on chkconfig package on Redhat/CentOS: search
     3        /etc/init.d/functions also under /etc/rc.d/init.d/functions
     4        (issue reported by Ernie)
    25        * fix build issue with musl libc (report & patch by A. Kuster)
    36        * fix case sensitivity (tcp vs TCP, udp vs UDP) in portcheck
     
    1013        align with documentation
    1114
    12 4.2.0:
     154.2.0 (31-10-2016):
    1316        * fix handle tracefs (permission for stat denied) when running
    1417        suidcheck without root privilege (for testing)
  • 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.