Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dentos-poe-agent/opt/poeagent/bin/poecli
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ BIN_PATH=$POE_ROOT/bin/
INC_PATH=$POE_ROOT/inc/
LIB_PATH=$POE_ROOT/lib/
DRIVERS_PATH=$POE_ROOT/drivers/
PD69200_PATH=$POE_ROOT/drivers/pd69200
PLATFORMS_PATH=$POE_ROOT/platforms/

export PYTHONPATH=$BIN_PATH:$INC_PATH:$LIB_PATH:$DRIVERS_PATH:$PLATFORMS_PATH
export PYTHONPATH=$POE_ROOT:$BIN_PATH:$INC_PATH:$LIB_PATH:$DRIVERS_PATH:$PD69200_PATH:$PLATFORMS_PATH

cd $BIN_PATH
/usr/bin/python3 poecli.py $@

/usr/bin/env python3 poecli.py $@
1,112 changes: 696 additions & 416 deletions dentos-poe-agent/opt/poeagent/bin/poecli.py

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dentos-poe-agent/opt/poeagent/bin/poed
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ BIN_PATH=$POE_ROOT/bin/
INC_PATH=$POE_ROOT/inc/
LIB_PATH=$POE_ROOT/lib/
DRIVERS_PATH=$POE_ROOT/drivers/
PD69200_PATH=$POE_ROOT/drivers/pd69200
PLATFORMS_PATH=$POE_ROOT/platforms/

export PYTHONPATH=$BIN_PATH:$INC_PATH:$LIB_PATH:$DRIVERS_PATH:$PLATFORMS_PATH
export PYTHONPATH=$POE_ROOT:$BIN_PATH:$INC_PATH:$LIB_PATH:$DRIVERS_PATH:$PD69200_PATH:$PLATFORMS_PATH

cd $BIN_PATH
/usr/bin/python3 poed.py $@

/usr/bin/env python3 poed.py $@
Loading