Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yamknet
openswan
openswan_30_rcscript.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openswan_30_rcscript.dif of Package openswan
diff -uNr openswan-2.6.28.org/programs/setup/setup.in openswan-2.6.28/programs/setup/setup.in --- openswan-2.6.28.org/programs/setup/setup.in 2010-07-30 03:45:59.000000000 +0900 +++ openswan-2.6.28/programs/setup/setup.in 2010-09-23 20:33:09.944915511 +0900 @@ -43,6 +43,11 @@ # description: IPsec provides encrypted and authenticated communications; \ # KLIPS is the kernel half of it, Pluto is the user-level management daemon. +. /etc/rc.status +rc_reset +return=$rc_done +export rc_failed rc_done rc_running rc_unused rc_dead + prog='ipsec setup' # for messages # where the private directory and the config files are @@ -145,28 +150,36 @@ case "$1" in start|--start) start + rc_failed $st + rc_status -v ;; stop|--stop) stop + rc_failed $st + rc_status -v ;; restart|--restart) restart + rc_status ;; reload|force-reload) - restart + rc_failed 3 + rc_status -v ;; condrestart|try-restart) condrestart + rc_status ;; status|--status) status + rc_status -v ;; version) version ;; *) echo "Usage: $prog {start|stop|restart|reload|force-reload|condrestart|try-restart|status|version}" - RETVAL=2 + rc_failed 2 esac exit $RETVAL
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor