CC-2410: Clean up install process

-reduced number of messages
-got rid of some warnings.
-moved airtime-install.php, airtime-upgrade.php, airtime-uninstall.php
This commit is contained in:
martin 2011-06-20 17:24:12 -04:00
parent 9744507078
commit fe14113b58
13 changed files with 23 additions and 15 deletions

View file

@ -106,7 +106,7 @@ try:
print "Installing pypo daemon"
shutil.copy(config["bin_dir"]+"/bin/airtime-playout-init-d", "/etc/init.d/airtime-playout")
p = Popen("update-rc.d airtime-playout defaults", shell=True)
p = Popen("update-rc.d airtime-playout defaults >/dev/null 2>&1", shell=True)
sts = os.waitpid(p.pid, 0)[1]
print "Waiting for processes to start..."

View file

@ -29,7 +29,7 @@ try:
os.system("/etc/init.d/airtime-playout stop")
os.system("rm -f /etc/init.d/airtime-playout")
os.system("update-rc.d -f airtime-playout remove")
os.system("update-rc.d -f airtime-playout remove >/dev/null 2>&1")
print "Removing cache directories"
remove_path(config["cache_base_dir"])