fix /var/log directory creation, needed for proper ppp operation.

SVN-Revision: 3807
lede-17.01
Nicolas Thill 2006-05-20 15:29:19 +00:00
parent 7d52032e81
commit 355c66c2b3
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,8 @@ eval "proto=\"\${${type}_proto}\""
exit exit
} }
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
for module in slhc ppp_generic pppoatm; do for module in slhc ppp_generic pppoatm; do
/sbin/insmod $module 2>&- >&- /sbin/insmod $module 2>&- >&-
done done

View File

@ -9,6 +9,8 @@ eval "proto=\"\${${type}_proto}\""
exit exit
} }
[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
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>&- >&-
done done