29 lines
1012 B
Markdown
29 lines
1012 B
Markdown
## Usage
|
|
t3hs\_frame\_exporter will always start on system boot. If you need to stop application do
|
|
```bash
|
|
t3hs_frame_exporter_ctl stop
|
|
```
|
|
|
|
If you need to endlessly restart application and reload after every crash do
|
|
```bash
|
|
t3hs_frame_exporter_ctl enable && t3hs_frame_exporter_ctl start
|
|
```
|
|
|
|
You can check status with `t3hs_frame_exporter_ctl status`
|
|
|
|
## Manuall build
|
|
```bash
|
|
mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain/toolchain.cmake .. && make
|
|
```
|
|
|
|
## Manuall installation
|
|
1. install built app as `/usr/bin/t3hs/t3hs_frame_exporter` (don't forget to check execute permissions)
|
|
2. install control script as `/usr/bin/t3hs/t3hs_frame_exporter_ctl`
|
|
3. copy config to `/etc/t3hs/frame_exporter/config.cfg`
|
|
4. create symlimk `/etc/init.d/S99t3hs_frame_exporter` -> `/usr/bin/t3hs/t3hs_frame_exporter_ctl`
|
|
5. add `/usr/bin/t3hs` to PATH:
|
|
```bash
|
|
echo 'export PATH="$PATH:/usr/bin/t3hs"' >> /etc/profile.d/t3hs_frame_exporter.sh
|
|
```
|
|
6. `/oem/usr/bin/RkLunch.sh` - remove starting rkipc
|