#!/bin/sh CONFIG=/etc/openvpn/client.conf ACTION=$1 f_start() { date 1103280000 openvpn --config ${CONFIG} --daemon } f_stop() { echo stop } case $ACTION in stop) f_stop ;; *) f_start ;; esac echo "a"