Skip to content

Commit d15ff70

Browse files
committed
0.3.2: docs: fix beam executable name
Thanks @meox ! Fixes #24
1 parent f983adf commit d15ff70

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ For IPv4 addresses, beam needs to have privileges to configure interfaces.
99
To add cap_net_admin capabilities:
1010

1111
```
12-
sudo setcap cap_net_admin=ep /path/to/bin/beam # or beam.smp
12+
sudo setcap cap_net_admin=ep /path/to/bin/beam.smp
1313
```
1414

1515
To check the privileges:
1616

1717
```
18-
getcap /path/to/bin/beam # or beam.smp
18+
getcap /path/to/bin/beam.smp
1919
```
2020

2121
To remove the privileges:
2222

2323
```
24-
sudo setcap -r cap_net_admin=ep /path/to/bin/beam # or beam.smp
24+
sudo setcap -r cap_net_admin=ep /path/to/bin/beam.smp
2525
```
2626

2727
Currently, IPv6 addresses are configured by calling ifconfig using sudo

src/tunctl.app.src

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
{description, "TUN/TAP interface"},
33
{applications, [kernel, stdlib]},
44
{included_applications, [procket]},
5-
{vsn, "0.3.1"}
5+
{vsn, "0.3.2"}
66
]}.

src/tunctl.erl

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@
4444
%% To add cap_net_admin capabilities:
4545
%%
4646
%% ```
47-
%% sudo setcap cap_net_admin=ep /path/to/bin/beam # or beam.smp
47+
%% sudo setcap cap_net_admin=ep /path/to/bin/beam.smp
4848
%% '''
4949
%%
5050
%% To check the privileges:
5151
%%
5252
%% ```
53-
%% getcap /path/to/bin/beam # or beam.smp
53+
%% getcap /path/to/bin/beam.smp
5454
%% '''
5555
%%
5656
%% To remove the privileges:
5757
%%
5858
%% ```
59-
%% sudo setcap -r cap_net_admin=ep /path/to/bin/beam # or beam.smp
59+
%% sudo setcap -r cap_net_admin=ep /path/to/bin/beam.smp
6060
%% '''
6161
%%
6262
%% Currently, IPv6 addresses are configured by calling ifconfig using sudo

0 commit comments

Comments
 (0)