Skip to content

Commit 1b4dc19

Browse files
committed
docs: add luckfox notes about loading the tedge shell environment
1 parent 00af3f4 commit 1b4dc19

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/Luckfox.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,16 @@ Install thin-edge.io standalone on a Luckfox Pico device using the following ste
5050
```sh
5151
/opt/tedge/bootstrap.sh
5252
```
53+
54+
5. Add the following shell profile snippet to enable loading of the tedge configuration by default in newly opened shells. You will need to reload your shell afterwards for it to take effect
55+
56+
```sh
57+
vi /etc/profile.d/tedge.sh
58+
```
59+
60+
```sh
61+
load_tedge_env() {
62+
set -a; . /opt/tedge/env; set +a;
63+
}
64+
load_tedge_env
65+
```

0 commit comments

Comments
 (0)