-+ start|--start|_autostart)
-+ # Check if the service is already running?
-+ if [ ! -f /var/lock/subsys/ipsec ]; then
-+ # show "Starting %s service" ipsec
-+ msg_starting ipsec
-+ if test " `id -u`" != " 0"
-+ then
-+ echo "permission denied (must be superuser)" |
-+ logger -p $IPSECsyslog -t ipsec_setup 2>&1
-+ exit 1
-+ fi
-+ (
-+ ipsec _realsetup $1
-+ RETVAL=$?
-+ ) 2>&1 | logger -p $IPSECsyslog -t ipsec_setup 2>&1
-+ RETVAL=$?
-+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ipsec
-+ else
-+ # show "%s service is already running." ipsec
-+ msg_already_running ipsec
- exit 1
+- exit 1
++ start|--start|_autostart)
++ # Check if the service is already running?
++ if [ ! -f /var/lock/subsys/ipsec ]; then
++ # show "Starting %s service" ipsec
++ msg_starting ipsec
++ busy
++ if test " `id -u`" != " 0"
++ then
++ echo "permission denied (must be superuser)" |
++ logger -p $IPSECsyslog -t ipsec_setup 2>&1
++ fail
++ exit 1
++ fi
++ {
++ ipsec _realsetup $1 ;
++ RETVAL=$?;
++ } 2>&1 | logger -p $IPSECsyslog -t ipsec_setup 2>&1
++
++ if [ "$RETVAL" -eq 0 ];
++ then
++ touch /var/lock/subsys/ipsec
++ ok
++ exit $RETVAL;
++ fi
++ fail
++ exit $RETVAL
++
++ else
++ # show "%s service is already running." ipsec
++ msg_already_running ipsec
++
++
++
++ exit 1