Update autoremakessh
This commit is contained in:
@@ -8,8 +8,8 @@ CY="\033[38;5;226m"
|
|||||||
### BEGIN FUNCTION BLOCK
|
### BEGIN FUNCTION BLOCK
|
||||||
|
|
||||||
verifydefaultconfigpresence(){
|
verifydefaultconfigpresence(){
|
||||||
if [ "$config" = "/opt/autoremakessh/client/defaultconfig" ]; then
|
if [ "$config" = "/opt/franscorackify/util/autoremakessh/client/defaultconfig" ]; then
|
||||||
if [ ! -f /opt/autoremakessh/client/defaultconfig ]; then
|
if [ ! -f /opt/franscorackify/util/autoremakessh/client/defaultconfig ]; then
|
||||||
echo -e ${CR}No default config found! Use -h argument for help.${NF}
|
echo -e ${CR}No default config found! Use -h argument for help.${NF}
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@@ -187,14 +187,14 @@ usage() {
|
|||||||
echo "-s - Server mode"
|
echo "-s - Server mode"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Possible Options:"
|
echo "Possible Options:"
|
||||||
echo "-c [FILE] - Configuration file to use (Default /opt/autoremakessh/client/defaultconfig)"
|
echo "-c [FILE] - Configuration file to use (Default /opt/franscorackify/util/autoremakessh/client/defaultconfig)"
|
||||||
echo "-h - Display this message"
|
echo "-h - Display this message"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
### END FUNCTION BLOCK
|
### END FUNCTION BLOCK
|
||||||
|
|
||||||
config="/opt/autoremakessh/client/defaultconfig"
|
config="/opt/franscorackify/util/autoremakessh/client/defaultconfig"
|
||||||
srvmode=0
|
srvmode=0
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user