mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Remove a root=0 dependency
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5312 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6e9816d9d9
commit
d243992f30
@ -1900,7 +1900,7 @@ do_initialize() {
|
||||
|
||||
[ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
|
||||
|
||||
if [ -z "$EXPORT" -a "$(whoami)" = root ]; then
|
||||
if [ -z "$EXPORT" -a $(id -u) -eq 0 ]; then
|
||||
|
||||
load_kernel_modules Yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user