Skip to content

Commit

Permalink
QNAP fix DaemonUsername
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Sep 13, 2024
1 parent 5c4ec4d commit 7ac8151
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions qnap/package/package_routines
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,10 @@ true
#pkg_install(){
#}
#
#pkg_post_install(){
#}
pkg_post_install(){

sed -i 's|^DaemonUsername=root$|DaemonUsername=admin|' $SYS_QPKG_INSTALL_PATH/nzbget/nzbget.conf

true

}
1 change: 1 addition & 0 deletions qnap/repack-nzbget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ for QPKG_ARCH in arm_64 arm-x19 arm-x31 arm-x41 x86_64 x86; do
;;
esac
bash $INSTALLER --destdir $QNAP_ROOT/nzbget/$QPKG_ARCH/nzbget --arch $ARCH --silent
sed -i 's|^DaemonUsername=.*$|DaemonUsername=admin|' $QNAP_ROOT/nzbget/$QPKG_ARCH/nzbget/nzbget.conf
cd $QNAP_ROOT/nzbget
qbuild --build-arch $QPKG_ARCH
cd $NZBGET_ROOT
Expand Down

0 comments on commit 7ac8151

Please sign in to comment.