diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/martian-modem/files/martian-modem.init.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dialup/martian-modem/files/martian-modem.init.d b/net-dialup/martian-modem/files/martian-modem.init.d index 540d14c5..70450ee9 100644 --- a/net-dialup/martian-modem/files/martian-modem.init.d +++ b/net-dialup/martian-modem/files/martian-modem.init.d @@ -13,12 +13,12 @@ pidfile=/var/run/${SVCNAME}.pid depend() { need localmount - [ "${use_syslog}" = "YES" ] && use syslog + yesno "${use_syslog}" && use syslog } start() { + local modem if [ -e /proc/modules ] ; then - local modem= for modem in /dev/modem /dev/ttySM[0-9]* ; do [ -e "${modem}" ] && break done |