Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
d590305a
Commit
d590305a
authored
Dec 17, 2010
by
Devaev Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Syntax error fix
parent
c32af02b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fmod_date_time.py
plugins/functions/fmod_date_time.py
+1
-1
fmod_dnsmasq_config.py
plugins/functions/fmod_dnsmasq_config.py
+1
-1
fmod_ntp_config.py
plugins/functions/fmod_ntp_config.py
+1
-1
No files found.
plugins/functions/fmod_date_time.py
View file @
d590305a
...
@@ -58,7 +58,7 @@ class DateTime(service.FunctionObject) :
...
@@ -58,7 +58,7 @@ class DateTime(service.FunctionObject) :
###
###
clock_config_file_path_sample
=
config
_
value
(
SERVICE_NAME
,
"clock_config_file_path_sample"
)
clock_config_file_path_sample
=
config
.
value
(
SERVICE_NAME
,
"clock_config_file_path_sample"
)
if
not
os
.
access
(
clock_config_file_path
,
os
.
F_OK
)
:
if
not
os
.
access
(
clock_config_file_path
,
os
.
F_OK
)
:
if
access
(
clock_config_file_path_sample
,
os
.
F_OK
)
:
if
access
(
clock_config_file_path_sample
,
os
.
F_OK
)
:
shutil
.
copy2
(
clock_config_file_path_sample
,
clock_config_file_path
)
shutil
.
copy2
(
clock_config_file_path_sample
,
clock_config_file_path
)
...
...
plugins/functions/fmod_dnsmasq_config.py
View file @
d590305a
...
@@ -140,7 +140,7 @@ class SimpleDnsmasqConfig(service.FunctionObject) :
...
@@ -140,7 +140,7 @@ class SimpleDnsmasqConfig(service.FunctionObject) :
###
###
dnsmasq_config_file_path_sample
=
config
_
value
(
SERVICE_NAME
,
"dnsmasq_config_file_path_sample"
)
dnsmasq_config_file_path_sample
=
config
.
value
(
SERVICE_NAME
,
"dnsmasq_config_file_path_sample"
)
if
not
os
.
access
(
dnsmasq_config_file_path
,
os
.
F_OK
)
:
if
not
os
.
access
(
dnsmasq_config_file_path
,
os
.
F_OK
)
:
if
access
(
dnsmasq_config_file_path_sample
,
os
.
F_OK
)
:
if
access
(
dnsmasq_config_file_path_sample
,
os
.
F_OK
)
:
shutil
.
copy2
(
dnsmasq_config_file_path_sample
,
dnsmasq_config_file_path
)
shutil
.
copy2
(
dnsmasq_config_file_path_sample
,
dnsmasq_config_file_path
)
...
...
plugins/functions/fmod_ntp_config.py
View file @
d590305a
...
@@ -50,7 +50,7 @@ class NtpConfig(service.FunctionObject) :
...
@@ -50,7 +50,7 @@ class NtpConfig(service.FunctionObject) :
###
###
ntp_config_file_path_sample
=
config
_
value
(
SERVICE_NAME
,
"ntp_config_file_path_sample"
)
ntp_config_file_path_sample
=
config
.
value
(
SERVICE_NAME
,
"ntp_config_file_path_sample"
)
if
not
os
.
access
(
ntp_config_file_path
,
os
.
F_OK
)
:
if
not
os
.
access
(
ntp_config_file_path
,
os
.
F_OK
)
:
if
access
(
ntp_config_file_path_sample
,
os
.
F_OK
)
:
if
access
(
ntp_config_file_path_sample
,
os
.
F_OK
)
:
shutil
.
copy2
(
ntp_config_file_path_sample
,
ntp_config_file_path
)
shutil
.
copy2
(
ntp_config_file_path_sample
,
ntp_config_file_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment