remove superfluous checks in /var/lock creation.

SVN-Revision: 3808
This commit is contained in:
Nicolas Thill 2006-05-20 18:58:04 +00:00
parent 355c66c2b3
commit a082460166
3 changed files with 3 additions and 3 deletions

View file

@ -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>&- >&-

View file

@ -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>&- >&-

View file

@ -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>&- >&-