This one time, at band camp, martin f krafft said:
> also sprach Alberto Gonzalez Iniesta <[EMAIL PROTECTED]> [2008.06.16.1241
> +0200]:
> > The init.d script was modified to use LSB functions in the last upload.
> > But that shouldn't break it. Could you run the script with '-x'.
>
> Note that I told openvpn to restart itself on upgrades.
>
> case "$1" in
> start)
> log_daemon_msg "Starting $DESC."
>
> # autostart VPNs
> if test -z "$2" ; then
> # check if automatic startup is disabled by AUTOSTART=none
> if test "x$AUTOSTART" = "xnone" -o -z "$AUTOSTART" ; then
> log_failure_msg " Autostart disabled."
> exit 0
> fi
> if test -z "$AUTOSTART" -o "x$AUTOSTART" = "xall" ; then
> # all VPNs shall be started automatically
> for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do
> NAME=${CONFIG%%.conf}
> start_vpn
> done
> fi
> fi
> log_end_msg $STATUS> + ls *.conf > + log_end_msg > + [ -z ] > + return 1 > invoke-rc.d: initscript openvpn, action "start" failed. It looks like you need to initialize $STATUS to 0 in that code path (or use the return from start_vpn, or whatever) -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature

