diff options
author | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2009-12-05 16:30:17 +0000 |
---|---|---|
committer | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2009-12-05 16:30:17 +0000 |
commit | 36a704b2d67d0bf72e877d95302ada1b37083232 (patch) | |
tree | 472017341c62dc1ae42e7760416677628ded4861 /gentoo-linux/net-misc | |
parent | works now (diff) |
fix indentation
Diffstat (limited to 'gentoo-linux/net-misc')
-rwxr-xr-x | gentoo-linux/net-misc/anytun/files/anytun-0.3.1.init | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gentoo-linux/net-misc/anytun/files/anytun-0.3.1.init b/gentoo-linux/net-misc/anytun/files/anytun-0.3.1.init index 1818bfa..2fa1473 100755 --- a/gentoo-linux/net-misc/anytun/files/anytun-0.3.1.init +++ b/gentoo-linux/net-misc/anytun/files/anytun-0.3.1.init @@ -81,7 +81,7 @@ start () { for NAME in `sed 's/#.*//' < $CONFIG_DIR/autostart | grep -e '\w'`; do ebegin "Starting ${DESC} VPN: ${NAME}" start_vpn - eend $? + eend $? done else eerror "no config found" @@ -124,15 +124,15 @@ reload () { NAME=`echo $PIDFILE | cut -c17-` NAME=${NAME%%.pid} if [ -d $CONFIG_DIR/$NAME/conf.d ] ; then - ebegin "Reloading ${DESC} VPN: ${NAME}" + ebegin "Reloading ${DESC} VPN: ${NAME}" stop_vpn start_vpn - eend $? + eend $? else - ebegin "Reloading ${DESC} VPN: ${NAME}" + ebegin "Reloading ${DESC} VPN: ${NAME}" stop_configd start_configd - eend $? + eend $? fi done else @@ -141,15 +141,15 @@ reload () { NAME=`echo $PIDFILE | cut -c17-` NAME=${NAME%%.pid} if [ -d $CONFIG_DIR/$NAME/conf.d ] ; then - ebegin "Reloading ${DESC} VPN: ${NAME}" + ebegin "Reloading ${DESC} VPN: ${NAME}" stop_vpn start_vpn - eend $? + eend $? else - ebegin "Reloading ${DESC} VPN: ${NAME}" + ebegin "Reloading ${DESC} VPN: ${NAME}" stop_configd start_configd - eend $? + eend $? fi else eerror "failure: No such tunnel is running: $VPN" |