From 46c179de2feb4047bb3a363e89dbe7d43e8eb4cd Mon Sep 17 00:00:00 2001 From: Gyorgy Szaszko Date: Thu, 30 Jan 2025 15:51:14 +0100 Subject: [PATCH] inet: refined emulation note --- opp_env/database/inet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opp_env/database/inet.py b/opp_env/database/inet.py index d2a40c85..5828441c 100644 --- a/opp_env/database/inet.py +++ b/opp_env/database/inet.py @@ -167,7 +167,7 @@ def make_inet_project_description(inet_version, omnetpp_versions): "setenv_commands": [ "@append", "export MININET_ROOT=${pkgs.python311Packages.mininet-python}", - "echo '\nNote on the Emulation feature: after installation, make sure to add the necessary capabilities to omnetpp executables by running the following commands:\n\nsudo setcap cap_sys_admin+ep /$OMNETPP_ROOT/bin/opp_run_release\nsudo setcap cap_sys_admin+ep /$OMNETPP_ROOT/bin/opp_run_dbg\n'", + "echo '\nNote on the Emulation feature: after installation, make sure to add the necessary capabilities to omnetpp executables by running the following commands:\n\nsudo setcap cap_sys_admin+ep $OMNETPP_ROOT/bin/opp_run_release\nsudo setcap cap_sys_admin+ep $OMNETPP_ROOT/bin/opp_run_dbg\n'", "if [ \"$(uname -s)\" != 'Linux' ]; then echo 'WARNING: Network-emulation-related functionality only works on Linux.'; fi", ], "patch_commands": [