summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-unstable
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian-unstable')
-rw-r--r--packaging/Debian/debian-unstable/samba-common.dhcp6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/Debian/debian-unstable/samba-common.dhcp b/packaging/Debian/debian-unstable/samba-common.dhcp
index 8d1dcab638..c8c4b9e14a 100644
--- a/packaging/Debian/debian-unstable/samba-common.dhcp
+++ b/packaging/Debian/debian-unstable/samba-common.dhcp
@@ -58,4 +58,8 @@ netbios_setup() {
fi
}
-netbios_setup
+# Only call netbios_setup if we're not sourced.
+case "$0" in
+ *bin/sh|*bin/bash) : ;;
+ *) netbios_setup ;;
+esac