mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 18:41:54 +02:00
remove superfluous checks in /var/lock creation.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3808 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fad2b6bf6e
commit
e7b618a084
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||
exit
|
||||
}
|
||||
|
||||
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
|
||||
mkdir -p /var/lock
|
||||
|
||||
for module in slhc ppp_generic pppoatm; do
|
||||
/sbin/insmod $module 2>&- >&-
|
||||
|
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||
exit
|
||||
}
|
||||
|
||||
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
|
||||
mkdir -p /var/lock
|
||||
|
||||
for module in slhc ppp_generic pppox pppoe; do
|
||||
/sbin/insmod $module 2>&- >&-
|
||||
|
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||
exit
|
||||
}
|
||||
|
||||
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
|
||||
mkdir -p /var/lock
|
||||
|
||||
for module in slhc ppp_generic ppp_async ip_gre; do
|
||||
/sbin/insmod $module 2>&- >&-
|
||||
|
Loading…
Reference in New Issue
Block a user