gzuncompress
|
Server IP : 172.19.0.3 / Your IP : 216.73.216.178 Web Server : Apache/2.4 System : Linux 880f91b28fd7 5.15.0-117-generic #127~20.04.1-Ubuntu SMP Thu Jul 11 15:36:12 UTC 2024 x86_64 User : tomlinde ( 155017) PHP Version : 5.6.40 Disable Function : dl, syslog, opcache_get_status MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib/../share/python/../bug/samba-common/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
#!/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 /var/lib/samba/dhcp.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