diff --git a/setrootpw/all/addons/esynoscheduler.db b/setrootpw/all/addons/esynoscheduler.db deleted file mode 100644 index 0e1e016..0000000 Binary files a/setrootpw/all/addons/esynoscheduler.db and /dev/null differ diff --git a/setrootpw/all/usr/lib/libcrypto.so.3 b/setrootpw/all/usr/lib/libcrypto.so.3 new file mode 100755 index 0000000..839e1cb Binary files /dev/null and b/setrootpw/all/usr/lib/libcrypto.so.3 differ diff --git a/setrootpw/install.sh b/setrootpw/install.sh index e1c9e92..391d6ff 100755 --- a/setrootpw/install.sh +++ b/setrootpw/install.sh @@ -1,4 +1,10 @@ #!/usr/bin/env ash +# +# Copyright (C) 2023 AuxXxilium and Ing +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# if [ "${1}" = "late" ]; then echo "Installing addon setrootpw - ${1}" @@ -7,6 +13,7 @@ if [ "${1}" = "late" ]; then mkdir -p /tmpRoot/usr/lib/openssh cp -vf /usr/lib/openssh/sftp-server /tmpRoot/usr/lib/openssh/sftp-server + [ ! -f "/tmpRoot/usr/lib/libcrypto.so.3" ] && cp -vf /usr/lib/libcrypto.so.3 /tmpRoot/usr/lib/libcrypto.so.3 FILE="/tmpRoot/etc/ssh/sshd_config" [ ! -f "${FILE}.bak" ] && cp -f "${FILE}" "${FILE}.bak" @@ -23,21 +30,23 @@ if [ "${1}" = "late" ]; then fi echo "insert setrootpw task to esynoscheduler.db" export LD_LIBRARY_PATH=/tmpRoot/bin:/tmpRoot/lib - /tmpRoot/bin/sqlite3 /tmpRoot/usr/syno/etc/esynoscheduler/esynoscheduler.db <