Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Adding a rc.syshook.d/early script
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding a rc.syshook.d/early script (Read 3092 times)
lattera
Full Member
Posts: 207
Karma: 82
Adding a rc.syshook.d/early script
«
on:
May 27, 2020, 05:10:33 pm »
I've created a new script for rc.syshookd/early. It gets installed in my dev build, but with the wrong perms. Instead of being 755, it's 644. On my local filesystem, it's committed as 755. I'm unsure why the discrepancy exists.
Logged
lattera
Full Member
Posts: 207
Karma: 82
Re: Adding a rc.syshook.d/early script
«
Reply #1 on:
June 08, 2020, 11:12:41 pm »
Problem solved with `git add --chmod=755 /path/to/script`. Stupid git.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Adding a rc.syshook.d/early script
«
Reply #2 on:
June 09, 2020, 07:27:41 am »
I mostly use GitHub or GitHub for Windows which also can't handle this .. annoying
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Adding a rc.syshook.d/early script