Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nayuos-ebuilds
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Lorenzo Martinico
nayuos-ebuilds
Commits
d71cb8d0
Commit
d71cb8d0
authored
Feb 12, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grandenet script: remove some old printed messages.
parent
c12aab1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
net-misc/re6stnet/files/grandenet
net-misc/re6stnet/files/grandenet
+4
-9
No files found.
net-misc/re6stnet/files/grandenet
View file @
d71cb8d0
...
...
@@ -84,17 +84,14 @@ function configure {
# function to clean up and exit
cleanup
()
{
echo
"
#################### Cleaning up #################################
"
printf
"
\n
Cleaning up and exiting...
\n
"
echo
-e
"
\e
[1mCleaning up and exiting...
\e
[0m"
if
[
-r
"
${
configdir
}
/ip6tables.save"
]
;
then
echo
"Removing changes in ip6tables rules"
ip6tables-restore <
"
${
configdir
}
/ip6tables.save"
rm
"
${
configdir
}
/ip6tables.save"
rm
"
${
configdir
}
/current_ip6tables.conf"
fi
echo
"Stop allowing IPv6 forwarding..."
}
...
...
@@ -114,11 +111,10 @@ if [[ $(pgrep re6stnet) ]] ; then
cleanup
echo
"Killing re6stnet process..."
killall re6stnet
# XXX: should only kill other grandenet processes...
killall grandenet
else
echo
"Exiting."
exit
0
else
exit
0
fi
fi
...
...
@@ -239,7 +235,6 @@ sysctl net.ipv6.conf.all.forwarding=1 >> "${logfile}" 2>&1
echo
"re6st will start, it may take a few minutes before beeing usable"
echo
"
For debugging purpose, logs will be stored in
${
logfile
}
.
To stop grandenet, run 'sudo
${
0
##*/
}
' command again."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment