diff options
-rw-r--r-- | net/misc/tinc/Manifest | 28 | ||||
-rw-r--r-- | net/misc/tinc/rc.tinc.new | 29 |
2 files changed, 29 insertions, 28 deletions
diff --git a/net/misc/tinc/Manifest b/net/misc/tinc/Manifest index 32bfb93..b60b1dc 100644 --- a/net/misc/tinc/Manifest +++ b/net/misc/tinc/Manifest @@ -2,23 +2,23 @@ Hash: SHA256 DIST tinc-1.0.9.tar.gz 519048 MD5 f907acebada53512e01235bea6b4cdf1 RMD160 43ad67040ed7aaad710c5137659f8f0f1d908101 SHA1 55de1bc3b47a48fb162b00ffbb3bac1e2058a7ed SHA256 3159fb656b902e3320123f02f7c8c7e82a0503f7e490424bb94f86d328844593 SHA512 171a38765f92428837716ad48cf4e2b2cf4e9e4b06215504f7d14675fa665e6d702a3616ceaf679e274385324680ac210303c62dd3006a36cc0fa6955f7ca85b -MISC rc.tinc.new 1115 MD5 01fae9473cd5a047d73c9a0fc91aa9dc RMD160 34648080440222db8ac3ff10b9094b1d2fd91380 SHA1 5d58a88f7701b90435261bb16af4313a291055ea SHA256 1e1d6dc0816b37209e9c849b0550d4626073f0fa87ad435af1c5a7574eabda86 SHA512 e24c70ef1564a237615aa38ca0e25f876d2814d800e86304e0e68f5a1b44a4731dedaadeae4cd7f3e3cb130c492d74233d6c4347c942bbbfd35df6c614df90d6 +MISC rc.tinc.new 1171 MD5 df5d6825d87b26bf4e3d0b2134eef010 RMD160 29a8a217d5bceeedbc0b1640229e7c77c8260bd3 SHA1 7ede3bb5e7b08dd11fac717b6b278cfa8e4d3cfa SHA256 6de7c1c4ea470b307a077df55470796e9f5cef3d815481767128ef37bde15226 SHA512 97fb1ec8fc967d31dff8c820e07f9251a7bf5d34e46986b805d8e729707a3f85179f1d43fa32341e8b482498f44b3aaaebbea0888ce860637157d6590124afc1 MKBUILD tinc.mkbuild 4983 MD5 35457370bfefb2525bc4fb74fffd7f4f RMD160 9f45cf994f08846a5435a50efd02f0d130f0eb3f SHA1 7b5342be61ad14ea268f241c8c6db0fa39562f70 SHA256 70e51a79106c52c53a69db560fe0d0f20d982832aadf136cdf3302c59bab121b SHA512 e453ac6235e9c9ced6a1bd924b07be16bc945f929cbf3a0afa94ad178e45359d3d74611021c792ba9a92b18bb3bab8ca4e1e4ebab26b9f73581c8c474da969b9 SLACKBUILD tinc.SlackBuild 9709 MD5 56c561bf46c42eaedc402404732195a1 RMD160 d8ab8764cfd3ab0fc47e631390e04f840e0cc076 SHA1 40060deea7799aaaf474c686e9ec50fa75edcd3c SHA256 69e11b757777c971e91145cff439b96855caa3fc5e854f99cfbe394b69e6c532 SHA512 bd717177e707d8d43c71b7da7cd51ce8c647eb7d5f163cc81a320dfd3ea585806549cb4f8e96cb3004d6e64f38919ff255217a560fbc558cad0d9a03a4a581ca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) -iQIcBAEBCAAGBQJKRUnMAAoJEEHL93ESzgei9XAQAJiDy7BwLBebOpDpcAg/H39D -3abmsUWqI/hJXqntoBV4IsmpHJNtkNwdO2THmkVHi8plATlxq7R3piprOqBIfxLU -7a9qP4rF9fhGfQud6Zu1Q0ygbG2dIXtidc1Rr8PG9c49g4SiNyBz38yvn7RHAK18 -pSWehdlyt6wfbtdpXCXYAShbQ8AC12GEPEwFww75KD4JAJWOKxyBy3h152Qc/f3X -VLQOIoBtUE3Oj0XRuW9yJaEeRWjyLZ7O+cmzz2Vi2TO9sHcge7ggEab8RqTfzkPe -WSxkRz+zsGHOSojTJuAnQET0ibJMXWck4E3q51NJ8I7IZ/95PhueKqJxjoZ6DMoK -iFqeJ3t+G8kjHyOXaBD5AlFnK7MzrXN3l8CkFBmpA1tW77JjjI7aQ3KZMceYph+R -7V/cW1ecHmCAlDW1jfdyLse75itwaC7Hriiv5ReQnLy4AoxO+uftuckbEjmVMzq4 -9PqzuiImZDekB/Kz0ZcrybSJXigksTNjBHL5lSfWprSPqSnF9xZllb9OhsvMobyV -pdAbXUTkHaHyTJAMk9IjExuYuCyHUiHr+97naMfmofr1auQd0m/5fikGciumZ13Q -deFWnuVIAreT/UciKHzVdwZI2NLu2mtTGsuIj7c570dJHH8GFmq7jMpLj1FmF8EN -4IBuLS/Utw1TIGvQgu3m -=/YSy +iQIcBAEBCAAGBQJKRUtgAAoJEEHL93ESzgeixyQP/iuhNa6eSnFx9bn7pZ7JYMpS +KS51W+8IU77IiSsNwYCMJmTjrBldmsttUXZ+VLm9qgfJzmTLhbgInXGBCkaNQTKC +d/VbVwOwf0y+9npcOSh9/204Ir+gFfs9H6RVj7AK5GtALlJ/wVbXsOg/u3pkd0pT +wppV3KlXb6ra8AuGymqn/rPbMK7hWmDQ4iS3FanzrGSHhF+2Sh+c5Qp5wQ3UrPHQ +oC46xPMoiorfHIbuMn2Ll6TzIjLj4pUvUR2qS6z/y7PUTFiM0N0X9FbCoEEQozNR ++fp6R3eU7o8YBQeUw00woNcPwn6qi6SHGS5AiAheu+B+tJLzg3CHW+dor11hSMd6 +a9OqamHVFEXaYTYJh6CSPsZwKFTE2+bNA35+eLstVKtBy1nIvSb1oCSKKKtvnlTh +2YGE0/Uwwg59kslXkMQ1z2KPQeyWqr/I5mDPrXPGQ7geV8UReJykiJXxEb5urIq9 +1uSu1+O6My/gdeIGfuE1tePEd+Rnx9wPSsm7Bw+pu4bbfkni8JhQOO8HFoEBQgwo +WCWbvOlOOb1BTT4ygb9UW1cPJcKNmu667u1qhUfcOrdPfhb/XvmzZ/VfDj9cSZfX +8ZSIcuKB1WSyM1koH8PZFhacVeJqn6s/MCVeIbU4cBF9/lrsKZQr/0a8oocgiGTn +TsyOYWqZ5qa297ihh3YA +=a+73 -----END PGP SIGNATURE----- diff --git a/net/misc/tinc/rc.tinc.new b/net/misc/tinc/rc.tinc.new index 2b8a24b..9dc5104 100644 --- a/net/misc/tinc/rc.tinc.new +++ b/net/misc/tinc/rc.tinc.new @@ -1,4 +1,5 @@ #!/bin/sh +# thanks to gentoo initscript tinc_networks() { @@ -11,31 +12,31 @@ tinc_networks() { } tinc_start() { - echo "Starting tinc VPN networks" + echo "Starting tinc VPN networks" for TINCNET in `tinc_networks`; do echo "Starting tinc network $TINCNET" /usr/sbin/tincd --net="$TINCNET" --logfile=/var/log/tinc.$TINCNET.log --pidfile=/var/run/tinc.$TINCNET.pid - done + done } tinc_stop() { - echo "Stopping tinc VPN networks" + echo "Stopping tinc VPN networks" for TINCNET in `tinc_networks`; do - if [ -f /var/run/tinc."$TINCNET".pid ]; then - echo "Stopping tinc network $TINCNET" - /usr/sbin/tincd --kill --pidfile=/var/run/tinc."$TINCNET".pid - fi - done + if [ -f /var/run/tinc."$TINCNET".pid ]; then + echo "Stopping tinc network $TINCNET" + /usr/sbin/tincd --kill --pidfile=/var/run/tinc."$TINCNET".pid + fi + done } tinc_reload() { - echo "Reloading configuration for tinc VPN networks" + echo "Reloading configuration for tinc VPN networks" for TINCNET in `tinc_networks`; do - if [ -f /var/run/tinc."$TINCNET".pid ]; then - echo "Reloading tinc network $TINCNET" - /usr/sbin/tincd --kill HUP --pidfile=/var/run/tinc."$TINCNET".pid - fi - done + if [ -f /var/run/tinc."$TINCNET".pid ]; then + echo "Reloading tinc network $TINCNET" + /usr/sbin/tincd --kill HUP --pidfile=/var/run/tinc."$TINCNET".pid + fi + done } case "$1" in |