Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-gluon
Commits
aaaf5a14
Commit
aaaf5a14
authored
11 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
gluon-next-node: generated config: move prefix information out of next-node scope
parent
f2d9bdab
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-next-node/generate/etc/init.d/gluon-next-node
+4
-4
4 additions, 4 deletions
package/gluon-next-node/generate/etc/init.d/gluon-next-node
with
4 additions
and
4 deletions
package/gluon-next-node/generate/etc/init.d/gluon-next-node
+
4
−
4
View file @
aaaf5a14
...
...
@@ -9,17 +9,17 @@ start() {
ip
link set
local-node address @next_node.mac@
ip address add @next_node.ip4@/32 dev local-node
ip route add @
next_node.
prefix4@ dev br-freifunk
ip route add @prefix4@ dev br-freifunk
ip address add @next_node.ip6@/128 dev local-node
ip route add @
next_node.
prefix6@ dev br-freifunk
ip route add @prefix6@ dev br-freifunk
ip
link set
local-node up
}
stop
()
{
ip route del @
next_node.
prefix4@ dev br-freifunk
ip route del @
next_node.
prefix6@ dev br-freifunk
ip route del @prefix4@ dev br-freifunk
ip route del @prefix6@ dev br-freifunk
ip
link set
local-node down
ip
link
del local-node
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment