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
4 changes: 2 additions & 2 deletions net/atlas-sw-probe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=atlas-sw-probe
PKG_VERSION:=5080
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/RIPE-NCC/ripe-atlas-software-probe.git
Expand All @@ -30,7 +30,7 @@ define Package/atlas-sw-probe
CATEGORY:=Network
TITLE:=RIPE Atlas software probe
URL:=https://atlas.ripe.net/about/probes/
DEPENDS:=+atlas-probe +PACKAGE_dropbear:dropbearconvert
DEPENDS:=+atlas-probe openssh-keygen
endef

define Package/atlas-sw-probe/description
Expand Down
6 changes: 3 additions & 3 deletions net/atlas-sw-probe/files/atlas.init
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ create_key() {
exit 1
fi

if [ -n "$(which ssh-keygen)" ]; then
ssh-keygen -t rsa -b 2048 -f $probe_key -N ""
sed -i "s/ \S*$/ "$username"/" $probe_pub_key
if [ -x /usr/libexec/ssh-keygen-openssh ]; then
/usr/libexec/ssh-keygen-openssh -t rsa -b 4096 -f $probe_key -N "" -c "$username"
# sed -i "s/ \S*$/ "$username"/" $probe_pub_key
elif [ -n "$(which dropbearkey)" ] && [ -n "$(which dropbearconvert)" ]; then
local public_key

Expand Down
Loading