-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor logging output fix. Changed some Copyright dates. Changed bug reporting endpoint to Github Repo Issue Tracker. https://github.com/lennycartier/iptoip/issues
- Loading branch information
1 parent
9164135
commit f15c803
Showing
5 changed files
with
45 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
iptoip | ||
|
||
(c) 2001 Lenny Cartier ([email protected]) / https://github.com/lennycartier/iptoip | ||
(c) 2013-2018 Nathan Gibbs <[email protected]> | ||
(c) 2013-2019 Nathan Gibbs <[email protected]> | ||
Licensed under the terms of the GNU GPL (see COPYING) | ||
|
||
A tool designed to setup and maintain the IPVS table on Linux hosts. | ||
|
@@ -33,6 +33,6 @@ On debien hosts, creating a symlink to iptoip in /etc/network/if-up.d can | |
accomplish this. | ||
|
||
BUGS: | ||
Report bugs or suggestions to <nathan@cmpublishers.com> | ||
Please submit at: https://github.com/lennycartier/iptoip/issues | ||
|
||
# revised 12/31/2018 | ||
# revised 2/7/2019 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,40 @@ | ||
#! /bin/sh | ||
|
||
# Names & locations. | ||
Pkg="iptoip" | ||
Isl="/usr/local" | ||
Ism=$Isl/man | ||
Iss=$Isl/share | ||
Isd=$Iss/doc/$Pkg | ||
Isp=$Iss/$Pkg | ||
|
||
echo "Installing $Pkg" | ||
# Install Code. | ||
cp iptoip /usr/local/sbin | ||
cp iptoip.init /etc/init.d/iptoip | ||
cp $Pkg $Isl/sbin | ||
cp $Pkg.init /etc/init.d/$Pkg | ||
# Install Documentation. | ||
cp iptoip.8 /usr/local/man/man8 | ||
cp iptoip.xml.5 /usr/local/man/man5 | ||
mkdir -p /usr/local/share/iptoip | ||
cp iptoip.xml install.sh ipvsrate.sh /usr/local/share/iptoip | ||
mkdir -p /usr/local/share/doc/iptoip | ||
cp AUTHORS CHANGELOG COPYING LICENSE README README.md TODO /usr/local/share/doc/iptoip | ||
cp $Pkg.8 $Ism/man8 | ||
cp $Pkg.xml.5 $Ism/man5 | ||
mkdir -p $Isd | ||
cp AUTHORS CHANGELOG COPYING LICENSE README README.md TODO $Isd | ||
# Misc Files | ||
mkdir -p $Isp | ||
cp $Pkg.xml install.sh ipvsrate.sh $Isp | ||
echo "Install Complete." | ||
echo "Setting up $Pkg service." | ||
# Setup Runtime. | ||
chkconfig -a iptoip | ||
echo -n "Trying chkconfig: " | ||
if which chkconfig; then | ||
echo -n "Found: " | ||
chkconfig -a $Pkg | ||
echo "Success" | ||
elif which update-rc.d; then | ||
echo "Failed" | ||
echo -n "Trying update-rc.d: " | ||
update-rc.d $Pkg defaults | ||
echo "Success" | ||
else | ||
echo "Unable to setup $Pkg service." | ||
echo "Pleae submit issue at:" | ||
echo "https://github.com/lennycartier/iptoip/issues" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# iptoip, v 0.3.2 ( devel ) | ||
# | ||
# Copyright (C) 2001 Lenny Cartier ([email protected]) | ||
# Additional Code Mangling Copyright (C) 2013-2018 Nathan Gibbs <[email protected]> | ||
# Additional Code Mangling Copyright (C) 2013-2019 Nathan Gibbs <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -38,7 +38,7 @@ my $i = 0; | |
my $host = hostname(); | ||
my ($Svcip, $error, $RET, $xmlconf); | ||
my $help = 0; | ||
my $ident = '[iptoip]'; | ||
my $ident = 'iptoip'; | ||
my $xmlarg = ''; | ||
# Flags | ||
my $DEBUG = 0; | ||
|
@@ -58,7 +58,7 @@ GetOptions( | |
$help && die <<END; | ||
iptoip-0.3.2 (devel), Copyright (C) 2001 Lenny Cartier | ||
(C) 2013-2018 Nathan Gibbs | ||
(C) 2013-2019 Nathan Gibbs | ||
iptoip comes with ABSOLUTELY NO WARRANTY; | ||
This is free software, and you are welcome to | ||
redistribute it under the terms of the GNU GPL. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters