svn commit: samba r13306 -
branches/SAMBA_3_0/packaging/Debian/debian-unstable
trunk/packaging/Debian/debian-unstable
lmuelle at samba.org
lmuelle at samba.org
Fri Feb 3 15:39:08 GMT 2006
Author: lmuelle
Date: 2006-02-03 15:39:07 +0000 (Fri, 03 Feb 2006)
New Revision: 13306
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13306
Log:
Do not call netbios_setup() if this file is sourced by sh or bash.
Modified:
branches/SAMBA_3_0/packaging/Debian/debian-unstable/samba-common.dhcp
trunk/packaging/Debian/debian-unstable/samba-common.dhcp
Changeset:
Modified: branches/SAMBA_3_0/packaging/Debian/debian-unstable/samba-common.dhcp
===================================================================
--- branches/SAMBA_3_0/packaging/Debian/debian-unstable/samba-common.dhcp 2006-02-03 15:38:31 UTC (rev 13305)
+++ branches/SAMBA_3_0/packaging/Debian/debian-unstable/samba-common.dhcp 2006-02-03 15:39:07 UTC (rev 13306)
@@ -58,4 +58,8 @@
fi
}
-netbios_setup
+# Only call netbios_setup if we're not sourced.
+case "$0" in
+ *bin/sh|*bin/bash) : ;;
+ *) netbios_setup ;;
+esac
Modified: trunk/packaging/Debian/debian-unstable/samba-common.dhcp
===================================================================
--- trunk/packaging/Debian/debian-unstable/samba-common.dhcp 2006-02-03 15:38:31 UTC (rev 13305)
+++ trunk/packaging/Debian/debian-unstable/samba-common.dhcp 2006-02-03 15:39:07 UTC (rev 13306)
@@ -58,4 +58,8 @@
fi
}
-netbios_setup
+# Only call netbios_setup if we're not sourced.
+case "$0" in
+ *bin/sh|*bin/bash) : ;;
+ *) netbios_setup ;;
+esac
More information about the samba-cvs
mailing list