Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
capr committed Jan 20, 2016
1 parent 6855b07 commit fa81069
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/program/lisper/dev-env-docker/lisp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ while true do
end
end
end
S.sleep(1)
S.sleep(5)
end
2 changes: 1 addition & 1 deletion src/program/lisper/dev-env-docker/lisper04.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

"interfaces": [
// { "name": "eth0", "mac": "00:00:00:00:01:04" },
{ "name": "eth0", "mac": "fd80::242:ac11:3" },
{ "name": "eth0", "mac": "02:42:ac:11:00:07" },
{ "name": "e03", "mac": "00:00:00:00:01:03" }
//{ "name": "e13", "mac": "00:00:00:00:01:13" }
],
Expand Down
7 changes: 2 additions & 5 deletions src/program/lisper/dev-env-docker/node-lisper
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@
start() {
local n="$1"
local x="$((10#$n))"
#ifconfig eth0 down
#ifconfig eth0 hw ether 00:00:00:00:01:$x
#ifconfig eth0 up
ip addr add fd80::$x/80 dev eth0
./lisp$n start
#./lisp$n start
./lisper$n start
}

stop() {
local n="$1"
local x="$((10#$n))"
./lisper$n stop
./lisp$n stop
#./lisp$n stop
ip addr del fd80::$x/80 dev eth0
}

Expand Down

0 comments on commit fa81069

Please sign in to comment.