From: Ben Gras Date: Tue, 28 Mar 2006 12:35:33 +0000 (+0000) Subject: Set ip address manually without dhcp when psip is set in /etc/inet.conf. X-Git-Tag: v3.1.2a~111 X-Git-Url: http://zhaoyanbai.com/repos/man.dig.html?a=commitdiff_plain;h=ef676bd39ba7f48c2abd42494ba5dea76d56637a;p=minix.git Set ip address manually without dhcp when psip is set in /etc/inet.conf. --- diff --git a/etc/usr/rc b/etc/usr/rc index b780e1a92..8d8dcbf36 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -126,6 +126,10 @@ start) else # Standard network daemons. echo -n "Starting networking:" + if grep psip /etc/inet.conf >/dev/null + then ifconfig -h 10.0.0.1 + else daemonize dhcpd + fi daemonize dhcpd daemonize nonamed daemonize talkd