projects
/
grml-x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 0.7.0
[grml-x.git]
/
grml-x
diff --git
a/grml-x
b/grml-x
index
270f8b6
..
89c853b
100755
(executable)
--- a/
grml-x
+++ b/
grml-x
@@
-1,4
+1,4
@@
-#!/usr/bin/python
2.6
+#!/usr/bin/python
# -*- coding: utf-8 -*-
# vim: set et ts=4:
# -*- coding: utf-8 -*-
# vim: set et ts=4:
@@
-69,8
+69,8
@@
def build_bootparams():
f = open('/proc/cmdline')
lines.append(f.readline())
f.close()
f = open('/proc/cmdline')
lines.append(f.readline())
f.close()
- walk_bootparams_path('/
cdro
m/bootparams')
- walk_bootparams_path('/
live/image
/bootparams')
+ walk_bootparams_path('/
lib/live/mount/mediu
m/bootparams')
+ walk_bootparams_path('/
run/live/medium
/bootparams')
params = {}
for p in ' '.join(lines).split(' '):
if '=' in p:
params = {}
for p in ' '.join(lines).split(' '):
if '=' in p:
@@
-198,7
+198,7
@@
def main():
f.close()
f = open(xinitrc, 'w')
for line in lines:
f.close()
f = open(xinitrc, 'w')
for line in lines:
- if line.startswith('exec '): line = wm_exec
+ if line.st
rip().st
artswith('exec '): line = wm_exec
f.write(line)
os.fchmod(f.fileno(), 0750)
f.close()
f.write(line)
os.fchmod(f.fileno(), 0750)
f.close()