Diff of /alx-src/branches/alxconf-060/functions/config_network.sh
Parent Directory | Revision Log | Patch
revision 2622 by niro, Mon Jul 4 21:19:50 2011 UTC | revision 2623 by niro, Thu Jul 7 13:20:37 2011 UTC | |
---|---|---|
# | Line 132 config_networking() | Line 132 config_networking() |
132 | then | then |
133 | addconfig "nameserver ${cfg_network_dns}" | addconfig "nameserver ${cfg_network_dns}" |
134 | fi | fi |
135 | ||
136 | # netbios daemon | |
137 | if [[ -x /usr/sbin/nmbd ]] | |
138 | then | |
139 | CONFIG="/etc/samba/smb.conf" | |
140 | clearconfig | |
141 | addconfig "[global]" | |
142 | addconfig "workgroup = ${cfg_network_domain}" | |
143 | addconfig "netbios name = ${cfg_network_hostname}" | |
144 | addconfig "dns proxy = no" | |
145 | ||
146 | rc-config add nmbd &> /dev/null | |
147 | else | |
148 | rc-config del nmbd &> /dev/null | |
149 | fi | |
150 | } | } |
|