The Samba-Bugzilla – Attachment 788 Details for
Bug 2056
Enhanced DHCP hook script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Then previous mentioned changes.
dhcpcd-hook-samba-functions.diff (text/plain), 1.05 KB, created by
Lars Müller
on 2004-11-18 07:01:00 UTC
(
hide
)
Description:
Then previous mentioned changes.
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2004-11-18 07:01:00 UTC
Size:
1.05 KB
patch
obsolete
>Author: Lars Mueller <lmuelle at SuSE dot de> >Subject: DCHP hook enhancement >Bugzilla: bugzilla.Samba.org #2056 > >--- samba-3.0.6/packaging/Debian/debian-unstable/samba-common.dhcp >+++ samba-3.0.6/packaging/Debian/debian-unstable/samba-common.dhcp 2004-08-26 17:40:49 >@@ -1,6 +1,7 @@ > #!/bin/sh > > SAMBA_DHCP_CONF=/etc/samba/dhcp.conf >+SAMBA_DHCP_CONF_INFO_FILE="" > > netbios_setup() { > # No need to continue if we're called with an unsupported option >@@ -14,7 +14,8 @@ > > # Nor should we continue if no settings have changed > if [ "$new_netbios_name_servers" = "$old_netbios_name_servers" ] \ >- && [ "$new_netbios_scope" = "$old_netbios_scope" ] >+ && [ "$new_netbios_scope" = "$old_netbios_scope" ] \ >+ && [ -f $SAMBA_DHCP_CONF ] > then > return > fi >@@ -33,6 +35,8 @@ > done > > echo -n > $SAMBA_DHCP_CONF >+ test -n "$SAMBA_DHCP_CONF_INFO_FILE" -a -f "$SAMBA_DHCP_CONF_INFO_FILE" && \ >+ cat "$SAMBA_DHCP_CONF_INFO_FILE" >> $SAMBA_DHCP_CONF > > # If we're updating on failure/expire, AND there are no WINS > # servers for other interfaces, leave the file empty.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2056
: 788