Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
86a84c46
authored
Dec 18, 2014
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DHCP -> SYNCDHCP
parent
ff3eb58e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
freebsd/network.py
+1
-1
No files found.
freebsd/network.py
View file @
86a84c46
...
...
@@ -44,7 +44,7 @@ def change_ip_freebsd(interfaces, dns):
for
device
,
conf
in
data
:
if_file
=
rcconf_dir
+
device
with
open
(
if_file
,
'w'
)
as
f
:
f
.
write
(
'ifconfig_'
+
device
+
'="DHCP"'
)
#XXXOP - hardcoded
f
.
write
(
'ifconfig_'
+
device
+
'="
SYNC
DHCP"'
)
#XXXOP - hardcoded
'''
with open(interfaces_file, 'a') as f:
for ifname, conf in data:
...
...
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