Changeset a0fbd8081aad14716555b28cab27c19b76973eea
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra68d42f
|
ra0fbd80
|
|
| | 1 | 2009-05-07 Neutron Soutmun <neo.neutron@gmail.com> |
| | 2 | |
| | 3 | * examples/rahunas.init.in: Fix mis-used log_end_msg with the log_action_msg. |
| | 4 | |
| 1 | 5 | 2009-05-06 Neutron Soutmun <neo.neutron@gmail.com> |
| 2 | 6 | |
-
|
rcc256e1
|
ra0fbd80
|
|
| 22 | 22 | WEBLOGIN_CONFIG=@sysconfdir@/rahunas/weblogin-config-update.sh |
| 23 | 23 | NAME=rahunasd |
| 24 | | DESC="RahuNAS - Rahu Network Access Server" |
| | 24 | DESC="Rahu Network Access Server" |
| 25 | 25 | |
| 26 | 26 | |
| … |
… |
|
| 91 | 91 | case "$1" in |
| 92 | 92 | start) |
| 93 | | log_daemon_msg "Starting $DESC" "$NAME" |
| 94 | | |
| 95 | 93 | if [ "$RUN_DAEMON" = "yes" ]; then |
| | 94 | log_daemon_msg "Starting $DESC" "$NAME" |
| 96 | 95 | if start ; then |
| 97 | 96 | log_end_msg $? |
| … |
… |
|
| 100 | 99 | fi |
| 101 | 100 | else |
| 102 | | log_end_msg "disabled, to enable see $INIT" |
| | 101 | log_action_msg "Not starting $DESC, as specified in $INIT" |
| 103 | 102 | fi |
| 104 | 103 | ;; |
| … |
… |
|
| 113 | 112 | ;; |
| 114 | 113 | restart) |
| 115 | | log_daemon_msg "Restarting $DESC" "$NAME" |
| 116 | | stop || true |
| 117 | | |
| 118 | 114 | if [ "$RUN_DAEMON" = "yes" ]; then |
| | 115 | log_daemon_msg "Restarting $DESC" "$NAME" |
| | 116 | stop || true |
| 119 | 117 | if start ; then |
| 120 | 118 | log_end_msg $? |
| … |
… |
|
| 123 | 121 | fi |
| 124 | 122 | else |
| 125 | | log_end_msg "disabled, to enable see $INIT" |
| | 123 | log_action_msg "Not restarting $DESC, as specified in $INIT" |
| 126 | 124 | fi |
| 127 | 125 | ;; |