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

@ -66,7 +66,7 @@ try:
print "Installing show-recorder daemon"
shutil.copy(config["bin_dir"]+"/airtime-show-recorder-init-d", "/etc/init.d/airtime-show-recorder")
p = Popen("update-rc.d airtime-show-recorder defaults", shell=True)
p = Popen("update-rc.d airtime-show-recorder 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-show-recorder stop")
os.system("rm -f /etc/init.d/airtime-show-recorder")
os.system("update-rc.d -f airtime-show-recorder remove")
os.system("update-rc.d -f airtime-show-recorder remove >/dev/null 2>&1")
print "Removing log directories"
remove_path(config["log_dir"])