Show
Ignore:
Timestamp:
06/09/09 11:24:50 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
7426d5e4dbbc7360eb762fb28416bd7b122174d5
Parents:
3934ce0e5b4bcce1d38ddb9556b4665e9ec95505
git-committer:
Neutron Soutmun <neo.neutron@…> (06/09/09 11:24:50)
Message:

New upstream release

  • With IFB for IMQ replacement.
  • Tool scripts and daemon executable installed in appropriate place.
  • The example config files (rahunas.conf, 01_rahunas-vserver.conf) installing by ucf.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • debian/rahunas.init

    r4438f09 rd05ea72  
    1717exec_prefix=${prefix} 
    1818 
    19 DAEMON=${exec_prefix}/bin/rahunasd 
     19DAEMON=${exec_prefix}/sbin/rahunasd 
    2020INIT=/etc/default/rahunas 
    21 FIREWALL=/etc/rahunas/firewall.sh 
    22 WEBLOGIN_CONFIG=/etc/rahunas/weblogin-config-update.sh 
     21FIREWALL=${exec_prefix}/sbin/rahunas-firewall 
     22WEBLOGIN_CONFIG=${exec_prefix}/sbin/rahunas-weblogin-config-update 
    2323NAME=rahunasd 
    24 DESC="RahuNAS - Rahu Network Access Server" 
     24DESC="Rahu Network Access Server" 
    2525 
    2626 
     
    9191case "$1" in 
    9292  start) 
    93     log_daemon_msg "Starting $DESC" "$NAME" 
    94    
    9593    if [ "$RUN_DAEMON" = "yes" ]; then 
     94      log_daemon_msg "Starting $DESC" "$NAME" 
    9695      if start ; then 
    9796        log_end_msg $? 
     
    10099      fi 
    101100    else 
    102       log_end_msg "disabled, to enable see $INIT" 
     101      log_action_msg "Not starting $DESC, as specified in $INIT" 
    103102    fi 
    104103    ;; 
     
    113112    ;; 
    114113  restart) 
    115     log_daemon_msg "Restarting $DESC" "$NAME" 
    116     stop || true 
    117  
    118114    if [ "$RUN_DAEMON" = "yes" ]; then 
     115      log_daemon_msg "Restarting $DESC" "$NAME" 
     116      stop || true 
    119117      if start ; then 
    120118        log_end_msg $? 
     
    123121      fi 
    124122    else 
    125       log_end_msg "disabled, to enable see $INIT" 
     123      log_action_msg "Not restarting $DESC, as specified in $INIT" 
    126124    fi 
    127125    ;;