Skip to content

Commit

Permalink
Removed sudo requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
xfoukas committed Nov 13, 2024
1 parent c9ca672 commit a6b702c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/first_example_ipc/load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e

$JBPFP_PATH/pkg/jbpf_protobuf_cli decoder load -c codeletset_load_request.yaml --decoder-control-ip 0.0.0.0

sudo -E $JBPF_PATH/out/bin/jbpf_lcm_cli -l -c codeletset_load_request.yaml
$JBPF_PATH/out/bin/jbpf_lcm_cli -l -c codeletset_load_request.yaml
2 changes: 1 addition & 1 deletion examples/first_example_ipc/run_app.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_app
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_app
2 changes: 1 addition & 1 deletion examples/first_example_ipc/run_collect_control.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_collect_control
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_collect_control
2 changes: 1 addition & 1 deletion examples/first_example_ipc/unload.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

sudo -E $JBPF_PATH/out/bin/jbpf_lcm_cli -u -c codeletset_unload_request.yaml
$JBPF_PATH/out/bin/jbpf_lcm_cli -u -c codeletset_unload_request.yaml

$JBPFP_PATH/pkg/jbpf_protobuf_cli decoder unload -c codeletset_load_request.yaml
2 changes: 1 addition & 1 deletion examples/first_example_standalone/load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e

$JBPFP_PATH/pkg/jbpf_protobuf_cli decoder load -c codeletset_load_request.yaml --decoder-control-ip 0.0.0.0

sudo -E $JBPF_PATH/out/bin/jbpf_lcm_cli -l -c codeletset_load_request.yaml
$JBPF_PATH/out/bin/jbpf_lcm_cli -l -c codeletset_load_request.yaml
2 changes: 1 addition & 1 deletion examples/first_example_standalone/run_app.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_app
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JBPF_PATH/out/lib ./example_app
2 changes: 1 addition & 1 deletion examples/first_example_standalone/unload.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

sudo -E $JBPF_PATH/out/bin/jbpf_lcm_cli -u -c codeletset_unload_request.yaml
$JBPF_PATH/out/bin/jbpf_lcm_cli -u -c codeletset_unload_request.yaml

$JBPFP_PATH/pkg/jbpf_protobuf_cli decoder unload -c codeletset_load_request.yaml

0 comments on commit a6b702c

Please sign in to comment.