Show
Ignore:
Timestamp:
06/09/09 10:07:55 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
7751a641e2a294d986b002dd01264b7d068258a2
Parents:
927d0c70c763dcf56e6f12ebe02a51688468a5c3
git-committer:
Neutron Soutmun <neo.neutron@…> (06/09/09 10:07:55)
Message:

Adjust build system config and install files

  • Adjust build system config to install the files to appropriate paths.
  • The MAINTAINERCLEANFILES was added.
  • Now rahunas.db installed into the default directory /var/lib/rahunas.
  • RahuNAS daemon executable file (rahunasd) now installed into /usr/sbin.
  • Tool scripts now installed into the /usr/sbin and their names change to satisfy the debian policy.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/rh-task-iptables.c

    raace70f rbae014d  
    1616#include "rh-task.h" 
    1717#include "rh-utils.h" 
    18  
    19 #define IPTABLES_WRAPPER "/etc/rahunas/firewall.sh" 
    2018 
    2119int iptables_exec(struct vserver *vs, char *const args[]) 
     
    7876  if (pid == 0) { 
    7977    // Child 
    80     execve(IPTABLES_WRAPPER, args, env); 
     78    execve(RAHUNAS_FIREWALL_WRAPPER, args, env); 
    8179  } else if (pid < 0) { 
    8280    // Fork error 
     
    113111  DP("IPTables: start"); 
    114112 
    115   args[0] = IPTABLES_WRAPPER; 
     113  args[0] = RAHUNAS_FIREWALL_WRAPPER; 
    116114  args[1] = "start-config"; 
    117115  args[2] = (char *) 0; 
     
    126124  DP("IPTables: stop"); 
    127125 
    128   args[0] = IPTABLES_WRAPPER; 
     126  args[0] = RAHUNAS_FIREWALL_WRAPPER; 
    129127  args[1] = "stop-config"; 
    130128  args[2] = (char *) 0;