-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can't use sed -i
on /etc/sysctl.d/*.conf
#11908
Comments
The whole thing is a mess. You use grep to find a pattern, then see if it was found, and then a while read loop to read it back in, just to have sed add a hash mark. sed can search for things too. the whole thing probably equivalent to |
@neutronscott would you like to propose a PR to improve this? I would be happy to review it. |
I can try that. I was at work and unable to. Also, sorry about the tone, work is like that sometimes. |
content/linux_os/guide/system/permissions/restrictions/sysctl_kernel_core_pattern_empty_string/bash/shared.sh
Line 15 in 59013f6
This clobbers the symlink and ruins everything!
The text was updated successfully, but these errors were encountered: