rfcomm_pppd_server (180563) | rfcomm_pppd_server (208060) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/rfcomm_pppd_server 180563 2008-07-16 19:22:48Z dougb $ | 3# $FreeBSD: head/etc/rc.d/rfcomm_pppd_server 208060 2010-05-14 04:53:57Z dougb $ |
4# 5 6# PROVIDE: rfcomm_pppd_server 7# REQUIRE: DAEMON sdpd 8# BEFORE: LOGIN 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 29 unchanged lines hidden (view full) --- 41 42 # Check for RFCOMM PPP profile channel override 43 # 44 eval _channel=\$rfcomm_pppd_server_${_profile_cleaned}_channel 45 if [ -z "${_channel}" ]; then 46 _channel=1 47 fi 48 rc_flags="${rc_flags} -C ${_channel}" | 4# 5 6# PROVIDE: rfcomm_pppd_server 7# REQUIRE: DAEMON sdpd 8# BEFORE: LOGIN 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 29 unchanged lines hidden (view full) --- 41 42 # Check for RFCOMM PPP profile channel override 43 # 44 eval _channel=\$rfcomm_pppd_server_${_profile_cleaned}_channel 45 if [ -z "${_channel}" ]; then 46 _channel=1 47 fi 48 rc_flags="${rc_flags} -C ${_channel}" |
49 | 49 |
50 # Check for RFCOMM PPP profile register SP override 51 # 52 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_sp 53 if [ -n "${_x}" ]; then 54 if checkyesno "rfcomm_pppd_server_${_profile_cleaned}_register_sp" ; then 55 rc_flags="${rc_flags} -S" 56 fi 57 fi | 50 # Check for RFCOMM PPP profile register SP override 51 # 52 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_sp 53 if [ -n "${_x}" ]; then 54 if checkyesno "rfcomm_pppd_server_${_profile_cleaned}_register_sp" ; then 55 rc_flags="${rc_flags} -S" 56 fi 57 fi |
58 | 58 |
59 # Check for RFCOMM PPP profile register DUN override 60 # 61 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_dun 62 if [ -n "${_x}" ]; then 63 if checkyesno "rfcomm_pppd_server_${_profile_cleaned}_register_dun" ; then 64 rc_flags="${rc_flags} -D" 65 fi 66 fi --- 56 unchanged lines hidden --- | 59 # Check for RFCOMM PPP profile register DUN override 60 # 61 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_dun 62 if [ -n "${_x}" ]; then 63 if checkyesno "rfcomm_pppd_server_${_profile_cleaned}_register_dun" ; then 64 rc_flags="${rc_flags} -D" 65 fi 66 fi --- 56 unchanged lines hidden --- |