Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
dievri committed Jan 26, 2021
1 parent b2bbf05 commit a1d64e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/.init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("dump")
8 changes: 4 additions & 4 deletions src/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ profile: |
echo $NINEP_PUBLIC_HOST > /dev/sysname
test -d /mnt/registry || mkdir -p /mnt/registry
mount -A tcp!registry!registry /mnt/registry
AWS_DIR = /tmp/aws/cmd
test -d $AWS_DIR || mkdir -p $AWS_DIR
AZURE_DIR = /tmp/azure/cmd
test -d $AZURE_DIR || mkdir -p $AZURE_DIR
load mpexpr
fs_port = ${expr $NINEP_PUBLIC_PORT 1 +}
file2chan $AWS_DIR^/aws {} {
file2chan $AZURE_DIR^/azure {} {
load mpexpr
var=${expr 10 rand}
echo new id is $var
Expand All @@ -57,6 +57,6 @@ profile: |
fs_port=${expr $fs_port 1 +}
}
grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AWS_DIR & }
grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AZURE_DIR & }
test -n $status && os pkill -9 emu-g
echo --- end of profile loading ---
8 changes: 4 additions & 4 deletions values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ profile: |
echo $NINEP_PUBLIC_HOST > /dev/sysname
test -d /mnt/registry || mkdir -p /mnt/registry
mount -A tcp!registry!registry /mnt/registry
AWS_DIR = /tmp/aws/cmd
test -d $AWS_DIR || mkdir -p $AWS_DIR
AZURE_DIR = /tmp/azure/cmd
test -d $AZURE_DIR || mkdir -p $AZURE_DIR
load mpexpr
fs_port = ${expr $NINEP_PUBLIC_PORT 1 +}
file2chan $AWS_DIR^/aws {} {
file2chan $AZURE_DIR^/azure {} {
load mpexpr
var=${expr 10 rand}
echo new id is $var
Expand All @@ -110,6 +110,6 @@ profile: |
fs_port=${expr $fs_port 1 +}
}
grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AWS_DIR & }
grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AZURE_DIR & }
test -n $status && os pkill -9 emu-g
echo --- end of profile loading ---

0 comments on commit a1d64e5

Please sign in to comment.