Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't both sysctl -w and sysctl -p in setting grsec lock
Because it is using both, the second sysctl -p is failing on noble/6.6 because the grsec lock is already set. Let's just skip the first sysctl -w and rely only on sysctl -p (which is more like how the kernel works when it boots) to set the necessary values.
- Loading branch information