Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/network/network.client.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1646 by niro, Thu Mar 10 18:14:47 2011 UTC revision 2026 by niro, Mon Aug 13 11:28:31 2012 UTC
# Line 15  help_network_hostname() Line 15  help_network_hostname()
15    
16  get_network_hostname()  get_network_hostname()
17  {  {
18   hostname   local val
19    
20     if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
21     then
22     val=$(hostname)
23     else
24     val=$(< /etc/hostname)
25     fi
26    
27     rvecho "${val}"
28  }  }
29    
30  # set_network_hostname $value  # set_network_hostname $value
# Line 101  set_network_iface() Line 110  set_network_iface()
110    
111   dhcp)   dhcp)
112   addconfig 'NETWORKING="dhcp"'   addconfig 'NETWORKING="dhcp"'
  # addconfig 'DHCP_PROG="/sbin/udhcpc"'  
  # addconfig 'DHCP_START="-t3 -T3 -q -b"'  
  # addconfig 'DHCP_STOP=""'  
113   ;;   ;;
114   esac   esac
115    

Legend:
Removed from v.1646  
changed lines
  Added in v.2026