71 |
local count="${#ALX_MODULES[*]}" |
local count="${#ALX_MODULES[*]}" |
72 |
local i |
local i |
73 |
|
|
74 |
|
:> ${argfile} |
75 |
|
|
76 |
for ((i=0; i<count; i++)) |
for ((i=0; i<count; i++)) |
77 |
do |
do |
78 |
if [[ ! -z ${ALX_MODULES_ARG[${i}]} ]] |
if [[ ! -z ${ALX_MODULES_ARG[${i}]} ]] |
93 |
|
|
94 |
# location of the modules.autoload file |
# location of the modules.autoload file |
95 |
modfile="/etc/modules.autoload" |
modfile="/etc/modules.autoload" |
|
# location of the modules argument file |
|
|
argfile="${SETTINGSPATH}/modules-args" |
|
96 |
|
|
97 |
# clear the old one |
# clear the old one |
98 |
:> ${modfile} |
:> ${modfile} |
|
:> ${argfile} |
|
99 |
|
|
100 |
# create a new arg file |
# create a new arg file |
101 |
create_argfile |
create_argfile |