FOXBI

Members
  • Content count

    29
  • Joined

  • Last visited

  • Days Won

    3

FOXBI last won the day on November 10

FOXBI had the most liked content!

Community Reputation

21 Excellent

1 Follower

About FOXBI

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. In the 5.x version environment, I checked exactly what the problem was after testing. 5.x version is configured as busybox unlike jun's loader of 6.x. busybox does not have bash defined and should use sh or ash. ## DSM 5.x Syno52> ls -lrt /bin/*sh* lrwxrwxrwx 1 root root 7 Nov 8 17:34 /bin/sh -> busybox lrwxrwxrwx 1 root root 7 Nov 8 17:34 /bin/ash -> busybox ## DSM 6.x root@admin:~# ls -lrt /bin/*sh* | grep bash -rwxr-xr-x 1 root root 1024856 May 19 09:35 /bin/bash lrwxrwxrwx 1 root root 4 Aug 15 18:45 /bin/sh -> bash lrwxrwxrwx 1 root root 4 Aug 15 18:45 /bin/ash -> bash It is judged that it is necessary to modify with boths by "/bin/sh". But, binary execution will fail with an error message with "applet not found" (probably because busybox is lite linux base). So, I am worried. About How to distribute in binary format ... (Actually, when I run by shell script, 5.x version also works normally.) I will think more and make a decision. Thanks nvrsk for your information! I apologize for the inconvenience.
  2. It's not just bash's problem. I’ll create a test environment as soon as possible and make it fixed available. Thank you for your feedback.
  3. I feel gratitude for your understanding and support. I can not do everything here, but I will keep improving as time goes on. Thank you!!!
  4. OMG!!! I did not test it in 5.x, so I did not think bash would be there. I'll prepare 5.x version as soon as possible and fix it. As a temporary measure, please test the execution of ch_cpuinfo after doing the following. ln -s /bin/sh /bin/bash ls -l /bin/bash And, Please inform me of ch_cpuinfo command result. Thank you!!
  5. Someone asked a similar question in the past. and, The deployment source has been commented out several times. Thanks for the advice. First, This is the system bash shell script, not node.js or javascript. The reason I made this tool binary is that most DSM users do not understand the shell script, so to minimize the possibility of malfunction caused by mistake. Also, I am not a professional developer, so I was embarrassed to publish a script that was made inexact. For that reason, I uploaded it as an executable file, and I thought enough about what could be misunderstood as an executable. It is up you to decide whether to believe or not. If you like, publishing the source is not difficult. Please refer to the following. Instead, please do not blame me for not making it. Please refer to the above as an answer to your question.
  6. As mentioned in the main topic, Exactly speaking, this is encryption. It would be better to understand that you run an encrypted script in a shell environment.
  7. Typically, shell scripts are created by defining bash, sh, or other shell environments (of course, they work with the default shell environment). Depending on the shell defined, the source code may change (for example, ksh and bash have different ways of handling variable values in the while statement). The source will be shared separately and I do not change that the binary distribute way. (Of course, this time case I'll be share it later because of the code I use for business purposes.) Thank you for your feedback.
  8. Add to. id ls -l /bin/bash Please inform me of the above command result. In the 5.x version, it is not tested directly, so it may not be possible.
  9. In DSM Web & Mobile Web Info, the changed values are displayed normally, but App is loading values in DB or elsewhere. Sorce code is not as complicated as it is now, if I found it in the first place I am studying postgres and Ext.js for further help.
  10. As mentioned in the main topic, this tool changes the Web UI and does not touch the functionality of the app itself. App such as "DS Finder" probably I thinks that it brings in values from elsewhere. I'm looking for that part too. I will try to reflect when I find it. Thank you for your feedback.
  11. Thanks for the advice. But, The result value of your code is same to one of my codes below. cat /proc/cpuinfo | grep "cpu cores" | sort -u | awk '{print $NF}' If I was just extracting core values, I would have used only one line. The remaining values are collected to make the most of the number of cpu, HT support, vm, intel, amd, openstack, and docker environments.(It may not be perfect.) I will reference to your link. Thank you very much!!
  12. Sorry, I'm afraid I have to show you next time. The code in this section is not complicated, but the current source for the CPU core is the code I made for use in my work area. It is likely to be misunderstood as business data leakage by me. so, I think possible to disclose after changing some variables and contents. I would be grateful if you could wait a little longer. Add to.. It's actually in the main topic. It is not a difficult part because it is produced through the values collected by the following five variables. cat /proc/cpuinfo | grep "processor" | sort -u | wc -l cat /proc/cpuinfo | grep "physical id" | sort -u | wc -l cat /proc/cpuinfo | grep "core id" | sort -u | wc -l cat /proc/cpuinfo | grep "siblings" | sort -u | awk '{print $NF}' cat /proc/cpuinfo | grep "cpu cores" | sort -u | awk '{print $NF}'
  13. I uploaded a new version file that change to core information collection method. It's possible to use !! I made a mistaken judgment by my business habits. I apologize for the wrong information.
  14. Sorry. Unfortunately, you modified it to 4.01, and I also updated the 5.0 new version. In addition, i'll check the fix part and reflect it later.
  15. Sorry, I have not yet prepared the 1.04b environment. I'll check it later when I'm ready.