Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew-buildout-re6st
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
nexedi
chromebrew-buildout-re6st
Commits
1ee19a18
Commit
1ee19a18
authored
Jun 26, 2018
by
Lorenzo Martinico
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove previous default rules
parent
7495004b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
bin/grandenet
bin/grandenet
+10
-0
No files found.
bin/grandenet
View file @
1ee19a18
...
@@ -232,6 +232,16 @@ fi
...
@@ -232,6 +232,16 @@ fi
sysctl net.ipv6.conf.all.accept_ra
=
1
>>
"
${
logfile
}
"
2>&1
sysctl net.ipv6.conf.all.accept_ra
=
1
>>
"
${
logfile
}
"
2>&1
sysctl net.ipv6.conf.all.forwarding
=
1
>>
"
${
logfile
}
"
2>&1
sysctl net.ipv6.conf.all.forwarding
=
1
>>
"
${
logfile
}
"
2>&1
defaultroute
=
$(
ip
-6
r |
grep
default
)
if
[[
${
defaultroute
}
!=
""
]]
;
then
echo
$defaultroute
|
while
read
line
do
echo
-e
"Dropping default route:
\n\t
${
line
}
"
sudo
ip
-6
route del default
echo
-e
"To restore, run:
\n\t
ip -6 route add
$(
echo
${
line
}
|
sed
's/expires \S\+//'
)
"
done
fi
echo
"re6st will start, it may take a few minutes before beeing usable"
echo
"re6st will start, it may take a few minutes before beeing usable"
echo
"
echo
"
...
...
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