Magisk-Modules-Repo / ssh

ssh
177 stars 34 forks source link

MODDIR problem #3

Closed kenzanin closed 5 years ago

kenzanin commented 5 years ago

dear maintainer team

i have to change MODDIR path from /magisk/ssh to /sbin/.core/img/ssh in the opensshd.init file to make the script to work

: ${MODDIR:=/magisk/ssh}

: ${MODDIR:=/sbin/.core/img/ssh}

device: xiaomi redmi note 3 magisk: 18 stable os: mokee 7.1

thanks

D4rCM4rC commented 5 years ago

Starting with v0.7, opensshd.init derives the MODDIR from its path (just like service.sh does), this way we don't have to hardcode any paths.