cc-2055: switch to init.d

-initial upgrade script
This commit is contained in:
martin 2011-06-01 15:28:24 -04:00
parent 4c9c86bf4f
commit d516b963e4
5 changed files with 42 additions and 18 deletions

View file

@ -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)