Commit b92e4d44 authored by David Kempe's avatar David Kempe
Browse files

space and perms only - Matt

parent f8c985bb
......@@ -83,19 +83,19 @@ if [ -x $ip ] ; then
echo "then run \$ $0 $COMMONNAME"
else
endpointip=$(get_server_endpoint_ip $ip)
echo "your new ip will be $ip"
echo "your new ip will be $ip"
echo "your new gateway will be $endpointip"
if [ $COMMONNAME == "" ] ; then
echo "writing new ccd $COMMONNAME"
echo ifconfig-push $ip $endpointip > $CCDDIR$COMMONNAME
if [ $COMMONNAME == "" ] ; then
echo "writing new ccd $COMMONNAME"
echo ifconfig-push $ip $endpointip > $CCDDIR$COMMONNAME
echo "writing new shorewall vars"
create_shorewall_vars
prompt_restart_shorewall
echo "writing new shorewall vars"
create_shorewall_vars
prompt_restart_shorewall
else
echo "no command name supplied so nothing will be written out"
echo "no command name supplied so nothing will be written out"
echo "to write the results run \$ $0 <COMMONNAME>"
fi
......
File mode changed from 100644 to 100755
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment