summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-19 12:51:46 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-19 12:51:46 +0000
commit11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9 (patch)
tree27c0ec32b42a3f00610792f5820a3bd098275ce0 /samba_wizard
parent169131f41eac4d0d24118955577d85799435d4d5 (diff)
downloaddrakwizard-11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9.tar
drakwizard-11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9.tar.gz
drakwizard-11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9.tar.bz2
drakwizard-11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9.tar.xz
drakwizard-11b3479d921b2d8ac7d8aff4d9bc7420f1849fc9.zip
disable inline_comment
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/Samba.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index ac063571..c827324f 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -73,8 +73,9 @@ my $o = {
$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/sambasrv.png";
# we ask glueconf to give us the structure representing /etc/samba/smb.conf
if (!-f "/etc/samba/smb.conf") { mkdir_p("/etc/samba/"); cp_af("/usr/share/wizards/samba_wizard/scripts/smb.conf.default", "/etc/samba/smb.conf") }
-#my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf', show_commented_info => 1 });
-my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [['^\s*#'], ['^\s*;']]);
+my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf', show_commented_info => 1 });
+#my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [['^\s*#'], ['^\s*;']]);
+$samba->{libconf}{disable_inline_comments} = 1;
#debug
use Data::Dumper;