diff options
author | Bernhard Tittelbach (xro) <xro@gmx.net> | 2009-11-19 01:37:15 +0000 |
---|---|---|
committer | Bernhard Tittelbach (xro) <xro@gmx.net> | 2009-11-19 01:37:15 +0000 |
commit | 036243109e06d08582edea30926e8bfc3c5521e5 (patch) | |
tree | 71e612fc0c5634d4f6fd1a1cf4db3a3ebeb63907 /net-misc | |
parent | app-misc/gizmod: Nuke old version, add missing multilib eclass (diff) | |
download | sunrise-reviewed-036243109e06d08582edea30926e8bfc3c5521e5.tar.gz sunrise-reviewed-036243109e06d08582edea30926e8bfc3c5521e5.tar.bz2 sunrise-reviewed-036243109e06d08582edea30926e8bfc3c5521e5.zip |
net-misc/anytun: removed custom restart() from init script
svn path=/sunrise/; revision=9535
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/anytun/ChangeLog | 4 | ||||
-rw-r--r-- | net-misc/anytun/Manifest | 4 | ||||
-rwxr-xr-x | net-misc/anytun/files/anytun-0.3.1.init | 26 |
3 files changed, 6 insertions, 28 deletions
diff --git a/net-misc/anytun/ChangeLog b/net-misc/anytun/ChangeLog index 25e4e116c..5569d1b9e 100644 --- a/net-misc/anytun/ChangeLog +++ b/net-misc/anytun/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v3 # $Header: $ + 19 Nov 2009; Bernhard Tittelbach (xro) <xro@gmx.net> + files/anytun-0.3.1.init: + removed custom restart() from init script + 18 Nov 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> anytun-0.3.1.ebuild, metadata.xml: Fix metadata.xml, ChangeLog, cleanup diff --git a/net-misc/anytun/Manifest b/net-misc/anytun/Manifest index ad7840b27..751d8dfc1 100644 --- a/net-misc/anytun/Manifest +++ b/net-misc/anytun/Manifest @@ -1,5 +1,5 @@ -AUX anytun-0.3.1.init 4763 RMD160 9f87f56315f67a30cf827292ed9f5acd4a11ecad SHA1 cd8ade4b38fe114e6ca81aa98f59cb522544ce03 SHA256 a8649e606ae6f10765cc707ca3326af1d0ecae2ccc4be25ac1a77546479bc479 +AUX anytun-0.3.1.init 4155 RMD160 9846efb22439e73039a39b5d90156207187eb910 SHA1 080d9d3e01641b06f37051860fa24405cce0ea2e SHA256 1e3399995a2fa61ae7476e1370590f8e21ac79e566f53cca8030d3f64ded21ba DIST anytun-0.3.1.tar.gz 133451 RMD160 0750f681887dcfc527fbf92f525e16b8ab5bfa47 SHA1 7489ebff5b5cefe909e7f187feae783b874ab614 SHA256 e696b2b6767753234df21dbfce8d994d4a9bbb75e9f3f360081d25ece5eb80c6 EBUILD anytun-0.3.1.ebuild 2973 RMD160 357415b3781b6177927cb57ba5111bc5b6a11b56 SHA1 600fbcdc2037a31f3be022a365b87b2e7e0297fc SHA256 74b0f0db27c154daf75cf7f99d8388120e37821ef14a72f152a73888c3cfd451 -MISC ChangeLog 518 RMD160 255c1f850dd3aa7876b3d81993acb713b6215a12 SHA1 f3a097786dee9202078f5f8642f56d00c0176ae7 SHA256 76db4c39b46cb4e5c48fc8e92f5fbfc4db725cf6f58d6a408b05970d03d8274c +MISC ChangeLog 645 RMD160 a2d3e543d9357f274e80cb63af7a9a2936e3ab50 SHA1 f4b842f33a3dadc18851de198740c43dd348ac5d SHA256 71999b6226bcc577a8506b414719961df4776fd5b8304d3ebad7689dcdd5df58 MISC metadata.xml 676 RMD160 076aacf8fa6c9063e3e6cff368e8f5c45980ede3 SHA1 0a0af1b5f03b28a698c8cd3f22e62cdfa7418481 SHA256 2f185c8e9c5cbcf72c2e344d17923dfb4745a87d28860e45824d67412afc4e1b diff --git a/net-misc/anytun/files/anytun-0.3.1.init b/net-misc/anytun/files/anytun-0.3.1.init index a21f4ee8b..681602cf7 100755 --- a/net-misc/anytun/files/anytun-0.3.1.init +++ b/net-misc/anytun/files/anytun-0.3.1.init @@ -158,29 +158,3 @@ reload () { fi fi } - -restart () { - if test -z "$VPN" ; then - for PIDFILE in `ls $VARRUN_DIR/*.pid 2> /dev/null`; do - NAME=`echo $PIDFILE | cut -c17-` - NAME=${NAME%%.pid} - ebegin "Restarting ${DESC} VPN: ${NAME}" - stop_vpn - start_vpn - eend $? - done - else - if test -e $VARRUN_DIR/${VPN}.pid ; then - PIDFILE=`ls $VARRUN_DIR/${VPN}.pid 2> /dev/null` - NAME=`echo $PIDFILE | cut -c17-` - NAME=${NAME%%.pid} - ebegin "Restarting ${DESC} VPN: ${NAME}" - stop_vpn - start_vpn - eend $? - else - eerror "failure: No such tunnel is running: $VPN" - fi - fi -} - |