mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-25 16:45:53 +03:00
[GH-ISSUE #368] Need help after the cloning step (Linux) #331
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#331
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 @htt-duong93 on GitHub (Oct 29, 2017).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/368
I'm currently trying to install NBFC on my ubuntu laptop while following the steps in this blog : https://blog.briantruscott.com/how-to-enable-laptop-fan-in-linux-with-nbfc/
Under the "Downloading NBFC" section, I'm trying to clone the /opt/directory with the exact command line but i get the following error message :
"bash: cd: /opt/nbfc: No such file or directory"
Are there any solutions for this?
@GreyWorks commented on GitHub (Oct 31, 2017):
Seems to me there is a text formatting problem on that page.
Have you tried to directly clone it to the /opt directory (not /opt/directrory) with that command?
It should clone to /opt/nbfc.
@htt-duong93 commented on GitHub (Oct 31, 2017):
You're right.... rookie mistake. I am new to Linux distributions so I didn't notice the mistake. However when I do the next step -> " sudo sh build.sh " the terminal sends me a message that displays :
" build.sh: 10: build.sh: Syntax error: "}" unexpected "
Basically, the terminal doesn't download the rest of the files for me.
@GreyWorks commented on GitHub (Oct 31, 2017):
No problem. Everyone using Linux was a rookie at some point. I think i can help here, too :)
Roaming around the closed issues i found #324.
It points to a stackoverflow post
Basic TLDR:
Make the file executable if it isn't already:
chmod +x build.shThen run it like
sudo ./build.shinstead ofsudo sh build.shI hope that helps.
@htt-duong93 commented on GitHub (Oct 31, 2017):
Awesome thanks! I have the service up and running, however I only have one final step before I can get the service to fully run properly on start-up...
I followed everything correctly in the blog, but I can't get the last instruction executed properly :
"sudo sh nbfc.sh"
I made the file executable and then ran the exact way you showed me and this error appears :
"./nbfc.sh: 8: ./nbfc.sh: Syntax error: newline unexpected"
@GreyWorks commented on GitHub (Oct 31, 2017):
Hm.. i think this is as far as I can help. I'm not using Ubuntu so I can't really reproduce the problem.
But it may be the same as for the build.sh. At least the error seams close enough.
I would try to make it executable and run it as
sudo ./nbfc.sh.Also you meight have downloaded the github html instead of the nbfc.sh
The url to the raw file is: https://raw.githubusercontent.com/nomofica/nbfc_startscript/master/nbfc.sh
@hirschmann commented on GitHub (Nov 1, 2017):
@Kyuuren there is a tutorial on how to run NBFC on Linux in the NBFC wiki: https://github.com/hirschmann/nbfc/wiki/First-steps#linux
@github-actions[bot] commented on GitHub (Dec 7, 2019):
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed