remove superfluous checks in /var/lock creation.
SVN-Revision: 3808
This commit is contained in:
parent
355c66c2b3
commit
a082460166
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
|
mkdir -p /var/lock
|
||||||
|
|
||||||
for module in slhc ppp_generic pppoatm; do
|
for module in slhc ppp_generic pppoatm; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
|
|
|
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
|
mkdir -p /var/lock
|
||||||
|
|
||||||
for module in slhc ppp_generic pppox pppoe; do
|
for module in slhc ppp_generic pppox pppoe; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
|
|
|
@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
|
||||||
exit
|
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
|
for module in slhc ppp_generic ppp_async ip_gre; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
|
|
Loading…
Reference in a new issue