ALT Linux Bugzilla
– Attachment 1411 Details for
Bug 9171
patch смены последовательности обработки netprofile
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
new patch
diff (text/plain), 948 bytes, created by
Marat Khayrullin
on 2006-03-01 22:15:32 MSK
(
hide
)
Description:
new patch
Filename:
MIME Type:
Creator:
Marat Khayrullin
Created:
2006-03-01 22:15:32 MSK
Size:
948 bytes
patch
obsolete
>diff -ruN /etc/net/scripts/functions.orig /etc/net/scripts/functions >--- /etc/net/scripts/functions.orig 2006-01-23 13:10:42 +0300 >+++ /etc/net/scripts/functions 2006-03-01 22:02:13 +0300 >@@ -242,13 +242,14 @@ > elif [ -n "$MYIFACEDIR" -a -s "$MYIFACEDIR/selectprofile" -a -x "$MYIFACEDIR/selectprofile" ]; then > NETPROFILE=`$MYIFACEDIR/selectprofile $0 | head -1 | cut -d' ' -f1` > elif [ -z "$NETPROFILE" ]; then >- if [ -s "$PROFILE_FILE" -a -r "$PROFILE_FILE" ]; then >- NETPROFILE=`$DENOISE -m 1 "$PROFILE_FILE" | cut -d' ' -f1` >- elif [ -r "$PROC_CMDLINE" ]; then >+ if [ -r "$PROC_CMDLINE" ]; then > # try to fetch profile name from kernel options > NETPROFILE=`cat "$PROC_CMDLINE" | sed 's/ / /g' | \ > sed 's/ /\n/g' | egrep '^netprofile=' | cut -d'=' -f2` > fi >+ if [ -z "$NETPROFILE" -a -s "$PROFILE_FILE" -a -r "$PROFILE_FILE" ]; then >+ NETPROFILE=`$DENOISE -m 1 "$PROFILE_FILE" | cut -d' ' -f1` >+ fi > fi > return 0 > }
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 9171
:
1409
| 1411