ALT Linux Bugzilla
– Attachment 3370 Details for
Bug 19192
нет возможности загружать модули с параметрами
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
functions-fw.diff
functions-fw.diff (text/plain), 2.38 KB, created by
alex@altlinux.org
on 2009-03-15 19:28:31 MSK
(
hide
)
Description:
functions-fw.diff
Filename:
MIME Type:
Creator:
alex@altlinux.org
Created:
2009-03-15 19:28:31 MSK
Size:
2.38 KB
patch
obsolete
>--- functions-fw_bad 2009-03-15 18:01:48 +0200 >+++ functions-fw 2009-03-15 18:05:57 +0200 >@@ -263,9 +263,9 @@ > cd "$(profiled_filename $MYIFACEDIR/fw/$CFW_TYPE)" > # Load modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args; do > print_message -e "\tLoading module $MODULE" >- $MODPROBE "$MODULE" || print_error "Can't load module $MODULE" >+ $MODPROBE "$MODULE" $args || print_error "Can't load module $MODULE" > done < <(egrep "^[^#]" modules) > fi > # Create user chains >@@ -379,7 +379,7 @@ > done > # Unload modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args; do > print_message -e "\tUnloading module $MODULE" > $MODPROBE -r "$MODULE" || print_error "Can't unload module $MODULE" > done < <(tac modules|egrep "^[^#]") >@@ -662,9 +662,9 @@ > cd "$(profiled_filename $MYIFACEDIR/fw/$CFW_TYPE)" > # Load modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args; do > print_message -e "\tLoading module $MODULE" >- $MODPROBE "$MODULE" || print_error "Can't load module $MODULE" >+ $MODPROBE "$MODULE" $args || print_error "Can't load module $MODULE" > done < <(egrep "^[^#]" modules) > fi > # Create user chains >@@ -778,7 +778,7 @@ > done > # Unload modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args; do > print_message -e "\tUnloading module $MODULE" > $MODPROBE -r "$MODULE" || print_error "Can't unload module $MODULE" > done < <(tac modules|egrep "^[^#]") >@@ -1015,9 +1015,9 @@ > cd "$(profiled_filename $MYIFACEDIR/fw/$CFW_TYPE)" > # Load modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args ; do > print_message -e "\tLoading module $MODULE" >- $MODPROBE "$MODULE" || print_error "Can't load module $MODULE" >+ $MODPROBE "$MODULE" $args || print_error "Can't load module $MODULE" > done < <(egrep "^[^#]" modules) > fi > # Create user chains >@@ -1131,7 +1131,7 @@ > done > # Unload modules > if [ -f "modules" ] && [ -s "modules" ]; then >- while read MODULE; do >+ while read MODULE args; do > print_message -e "\tUnloading module $MODULE" > $MODPROBE -r "$MODULE" || print_error "Can't unload module $MODULE" > done < <(tac modules|egrep "^[^#]")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19192
: 3370