summaryrefslogtreecommitdiff
path: root/openwrt/package/ppp/files/ifup.pppoa
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-20 18:58:04 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-20 18:58:04 +0000
commite7b618a084f22897d0f0dd78050b3a7ecf330176 (patch)
treee7a435e1aff5440b1070f0cb1fdbd67c79e7495d /openwrt/package/ppp/files/ifup.pppoa
parentfad2b6bf6e359c8166abbfe53d5a1cf99c3f85a5 (diff)
remove superfluous checks in /var/lock creation.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3808 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ppp/files/ifup.pppoa')
-rw-r--r--openwrt/package/ppp/files/ifup.pppoa2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa
index 3a6dea3259..f78a162ce5 100644
--- a/openwrt/package/ppp/files/ifup.pppoa
+++ b/openwrt/package/ppp/files/ifup.pppoa
@@ -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>&- >&-