ALT Linux Bugzilla
– Attachment 4312 Details for
Bug 13607
Подгрузка ядерных модулей в VE
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для создания VLAN в VE
create-vlan.fixVE.patch (text/plain), 878 bytes, created by
Denis Yagofarov
on 2010-03-20 22:44:21 MSK
(
hide
)
Description:
Патч для создания VLAN в VE
Filename:
MIME Type:
Creator:
Denis Yagofarov
Created:
2010-03-20 22:44:21 MSK
Size:
878 bytes
patch
obsolete
>*** /etc/net/scripts/create-vlan Thu Feb 4 00:16:46 2010 >--- /root/create-vlan Sat Mar 20 21:35:32 2010 >*************** >*** 6,15 **** > : ${HOST:?HOST is missing for $NAME} > : ${VID:?VID is missing for $NAME} > >! $MODPROBE 8021q || { >! print_error "8021q kernel module not found" >! exit 2 >! } > > # obsolete now? > if iface_is_up $HOST; then >--- 6,21 ---- > : ${HOST:?HOST is missing for $NAME} > : ${VID:?VID is missing for $NAME} > >! if [ ! -f "/proc/net/vlan/config" ]; then >! if [ `cat /proc/user_beancounters|egrep "^ *0:"` ]; then >! $MODPROBE 8021q || { >! print_error "8021q kernel module not found" >! exit 2 >! } >! else >! print_error "We are in VE, but 8021q kernel module not loaded in HN" >! fi >! fi > > # obsolete now? > if iface_is_up $HOST; then
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 13607
: 4312