mirror of
https://github.com/007revad/Synology_enable_M2_volume.git
synced 2026-04-25 21:15:58 +03:00
[GH-ISSUE #127] /bin/bc: line 1: syntax error near unexpected token `newline' #235
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_enable_M2_volume#235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @artemus717 on GitHub (Oct 26, 2023).
Original GitHub issue: https://github.com/007revad/Synology_enable_M2_volume/issues/127
I download the script from github. Sure did not edit or open any file on my PC.
Seemed like there are something wrong for bc file.
I tried to use bc in bin/bc to replace /bin/bc. But /bin/bc will come back to the little one.
@artemus717 commented on GitHub (Oct 26, 2023):
I replace bc again and check the privilege of bc. This time it works.
@007revad commented on GitHub (Oct 26, 2023):
I notice bc was in /bin My script installs bc in /usr/bin and then sets it as executable.
One of the Xpenology loaders installs bc in /bin and another Xpenology loader installs bc in /usr/bin which would explain why you have bc in /bin
I'll change my script to check if bc is in /bin and set it as executable if needed.