diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-05-20 18:58:04 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-05-20 18:58:04 +0000 |
commit | a082460166d20b293298b100b39d76393d17d812 (patch) | |
tree | ed33cdf4b765f671263ca95e6b7be2b115435768 /openwrt | |
parent | 355c66c2b30baf9e07ce3b5132ab48f96bef5ef8 (diff) | |
download | mtk-20170518-a082460166d20b293298b100b39d76393d17d812.zip mtk-20170518-a082460166d20b293298b100b39d76393d17d812.tar.gz mtk-20170518-a082460166d20b293298b100b39d76393d17d812.tar.bz2 |
remove superfluous checks in /var/lock creation.
SVN-Revision: 3808
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/package/ppp/files/ifup.pppoa | 2 | ||||
-rw-r--r-- | openwrt/package/ppp/files/ifup.pppoe | 2 | ||||
-rw-r--r-- | openwrt/package/pptp/files/ifup.pptp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index 3a6dea3..f78a162 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>&- >&- diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index ed3c5e1..c7019fc 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>&- >&- diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp index a9bc579..f401a36 100644 --- a/openwrt/package/pptp/files/ifup.pptp +++ b/openwrt/package/pptp/files/ifup.pptp @@ -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 ppp_async ip_gre; do /sbin/insmod $module 2>&- >&- |