Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cmeng
yast2-drbd
bug-291778_create-conf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-291778_create-conf.patch of Package yast2-drbd
diff -Nru yast2-drbd-2.13.1.ori/agents/drbd.rb.yy yast2-drbd-2.13.1/agents/drbd.rb.yy --- yast2-drbd-2.13.1.ori/agents/drbd.rb.yy 2007-07-30 14:58:26.000000000 +0800 +++ yast2-drbd-2.13.1/agents/drbd.rb.yy 2007-07-31 00:16:05.000000000 +0800 @@ -198,6 +198,12 @@ $configstr = "" in_skip = false +if !File.exist?($drbdcfg) + file = File.open($drbdcfg, "w") + file.close +end + + File.open($drbdcfg, "r") do |file| file.each_line do |line| line = line.gsub(/#.*$/, '').chomp
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor