diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
commit | 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch) | |
tree | 2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/samba-common.bug-script | |
parent | Adding upstream version 2:4.20.0+dfsg. (diff) | |
download | samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip |
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/samba-common.bug-script')
-rwxr-xr-x | debian/samba-common.bug-script | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/samba-common.bug-script b/debian/samba-common.bug-script new file mode 100755 index 0000000..93c23f2 --- /dev/null +++ b/debian/samba-common.bug-script @@ -0,0 +1,24 @@ +#!/bin/bash -e + +cat <<EOF + +I can automatically include various information about your samba configuration +in your bug report. This information may help to diagnose your problem. + +EOF + +for config in /etc/samba/smb.conf ; do + if [ -f $config ]; then + yesno "May I include your $config configuration file? [Y/n] " yep + if [ "$REPLY" = "yep" ]; then + echo "* $config present, and attached" >&3 + echo "-- BEGIN ATTACHMENTS --" >&3 + echo "$config" >&3 + echo "-- END ATTACHMENTS --" >&3 + else + echo "* $config present, but not attached" >&3 + fi + else + echo "* $config not present" >&3 + fi +done |