Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
aports
Commits
5b1e5887
Commit
5b1e5887
authored
Jun 21, 2012
by
Natanael Copa
Browse files
main/vlan: load kernel module 8021q if needed
fixes #1212 (cherry picked from commit
98832700
)
parent
9ec58f19
Changes
2
Hide whitespace changes
Inline
Side-by-side
main/vlan/APKBUILD
View file @
5b1e5887
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
vlan
pkgver
=
1.9
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Scripts for configuring VLAN network interfaces"
url
=
"http://wiki.alpinelinux.org/wiki/Vlan"
arch
=
"noarch"
...
...
@@ -44,4 +44,4 @@ package() {
md5sums
=
"3683be24d1fc1d8565e945c349c41571 mvlan.post-down
5b6232674e83b0dbfc24af523dd5ec03 mvlan.pre-up
cebaa97c933ed0f4cafd92f864ab4bc8 vlan.post-down
c9acef8c17d8af19590767f57eb11b6b
vlan.pre-up"
53378ae34ad2f475901bb43049a6c146
vlan.pre-up"
main/vlan/vlan.pre-up
View file @
5b1e5887
...
...
@@ -4,6 +4,9 @@ do_vlan_config() {
local id
=
"
$2
"
local
newname
=
"
$3
"
local
nametype
=
"
$4
"
if
!
[
-d
/proc/net/vlan
]
;
then
modprobe 8021q
fi
vconfig set_name_type
${
nametype
}
vconfig add
${
device
}
${
id
}
}
...
...
Natanael Copa
@ncopa
mentioned in issue
#1212 (closed)
·
Jul 12, 2019
mentioned in issue
#1212 (closed)
mentioned in issue #1212
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment