Lines Matching refs:tcpip
266 mkssys -s sshd -p "$sbindir/sshd" -a '-D' -u 0 -S -n 15 -f 9 -R -G tcpip
275 # otherwise add to rc.tcpip
276 if egrep "^\$oldstartcmd" /etc/rc.tcpip >/dev/null
278 if sed "s|^\$oldstartcmd|\$startupcmd|g" /etc/rc.tcpip >/etc/rc.tcpip.new
280 chmod 0755 /etc/rc.tcpip.new
281 mv /etc/rc.tcpip /etc/rc.tcpip.old && \
282 mv /etc/rc.tcpip.new /etc/rc.tcpip
284 echo "Updating /etc/rc.tcpip failed, please check."
288 if grep "^\$startupcmd" /etc/rc.tcpip >/dev/null
290 echo "sshd found in rc.tcpip, not adding."
292 echo "Adding sshd to rc.tcpip"
293 echo >>/etc/rc.tcpip
294 echo "# Start sshd" >>/etc/rc.tcpip
295 echo "\$startupcmd" >>/etc/rc.tcpip