From e7b618a084f22897d0f0dd78050b3a7ecf330176 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 20 May 2006 18:58:04 +0000 Subject: remove superfluous checks in /var/lock creation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3808 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/ppp/files/ifup.pppoe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openwrt/package/ppp/files/ifup.pppoe') diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index ed3c5e1eab..c7019fc398 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -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>&- >&- -- cgit v1.2.3