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:
teastep 2007-01-26 23:35:05 +00:00
parent 6e9816d9d9
commit d243992f30

View File

@ -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