cc-2055: switch to init.d
-initial upgrade script
This commit is contained in:
parent
4c9c86bf4f
commit
d516b963e4
5 changed files with 42 additions and 18 deletions
|
@ -44,7 +44,7 @@ try:
|
|||
|
||||
current_script_dir = get_current_script_dir()
|
||||
|
||||
p = Popen("/etc/init.d/airtime-show-recorder stop", shell=True)
|
||||
p = Popen("/etc/init.d/airtime-show-recorder stop >/dev/null 2>&1", shell=True)
|
||||
sts = os.waitpid(p.pid, 0)[1]
|
||||
|
||||
print "Creating temporary media storage directory"
|
||||
|
@ -80,6 +80,4 @@ try:
|
|||
except Exception, e:
|
||||
print "exception:" + str(e)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue