/[smecontribs]/rpms/smeserver-bridge-interface/contribs8/smeserver-bridge-interface-0.1-display_stop_start.patch
ViewVC logotype

Annotation of /rpms/smeserver-bridge-interface/contribs8/smeserver-bridge-interface-0.1-display_stop_start.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 12 03:46:04 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-bridge-interface-0_1-6_el5_sme, HEAD
Initial import

1 unnilennium 1.1 --- smeserver-bridge-interface-0.1/root/etc/rc.d/init.d/bridge.display_stop_start 2009-05-29 09:28:14.000000000 +0200
2     +++ smeserver-bridge-interface-0.1/root/etc/rc.d/init.d/bridge 2009-05-29 09:34:37.000000000 +0200
3     @@ -133,24 +133,36 @@
4    
5     case "$1" in
6     start)
7     + echo -n $"Starting Bridge Service: "
8     start
9     - success; echo
10     - ;;
11     + RETVAL=$?
12     + ;;
13     stop)
14     + echo -n $"Stoping Bridge Service: "
15     stop
16     - success; echo
17     - ;;
18     + RETVAL=$?
19     + ;;
20     restart)
21     + echo -n $"Restarting Bridge Service: "
22     stop && start
23     - success; echo
24     - ;;
25     + RETVAL=$?
26     + ;;
27     adjust)
28     + echo -n $"Restarting Bridge Service: "
29     stop && start
30     - success; echo
31     - ;;
32     + RETVAL=$?
33     + ;;
34     *)
35     echo "Usage: $0 start|stop|restart"
36     ;;
37     esac
38    
39     -exit 0
40     +if [ $RETVAL -eq 0 ]; then
41     + echo_success
42     +else
43     + echo_failure
44     +fi
45     +echo
46     +
47     +exit $RETVAL
48     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed