Show
Ignore:
Timestamp:
05/07/09 20:30:56 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
9679928e3424ddb216ce7cb6ae23351b51728b78
Parents:
a68d42f968bde01a20d55ffc7c9cd33656fbb900
git-committer:
Neutron Soutmun <neo.neutron@…> (05/07/09 20:30:56)
Message:

Fix mis-used log_end_msg with log_action_msg

  • examples/rahunas.init.in: Fix mis-used log_end_msg with the log_action_msg.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • example/rahunas.init.in

    rcc256e1 ra0fbd80  
    2222WEBLOGIN_CONFIG=@sysconfdir@/rahunas/weblogin-config-update.sh 
    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    ;;