Debian dependency fixed (albeit in a hacky way for now...) Finally works through tor on RPi image
This commit is contained in:
parent
72c6af328e
commit
ceb80569cb
2
debian/control
vendored
2
debian/control
vendored
|
@ -12,7 +12,7 @@ Vcs-Git: https://git.rudefox.io/bj/torch-agent.git
|
|||
Package: torch-agent
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: ssh, tor, python3-pip, python3-paho-mqtt (>=1.5.0), ${misc:Depends}, ${python3:Depends}
|
||||
Depends: ssh, tor, python3-pip, ${misc:Depends}, ${python3:Depends}
|
||||
Description: TORch is a solution for creating an SSH-via-Tor
|
||||
backdoor on a remote device as a means of fallback remote
|
||||
management and initial headless device configuration.
|
||||
|
|
8
debian/postinst
vendored
8
debian/postinst
vendored
|
@ -53,10 +53,12 @@ case "$1" in
|
|||
useradd -r -g $GROUP $USER
|
||||
fi
|
||||
|
||||
chown $USER /etc/torch
|
||||
chown $USER /etc/torch/torch.conf
|
||||
sudo -H pip3 install 'paho-mqtt>=1.5.1'
|
||||
|
||||
configure_tor_controller
|
||||
chown $USER /etc/torch
|
||||
chown $USER /etc/torch/torch.conf
|
||||
|
||||
configure_tor_controller
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
|
Loading…
Reference in New Issue
Block a user