Correct a path 'proc/cmdline' -> '/proc/cmdline'
modified: operation/finish_install.py
This commit is contained in:
@@ -14,7 +14,7 @@ homedir = ri_data.StateGrid.home_dir
|
||||
shell = ri_data.StateGrid.shell
|
||||
|
||||
# run state grid custom scripts
|
||||
f = open('proc/cmdline', 'r')
|
||||
f = open('/proc/cmdline', 'r')
|
||||
cmdline = f.readline()
|
||||
f.close()
|
||||
instmode = cmdline.split(' ')[0].split('=')[1]
|
||||
|
||||
Reference in New Issue
Block a user