diff --git a/scripts/outer_scripts_to_review/hw-diags b/scripts/outer_scripts_to_review/hw-diags deleted file mode 100755 index 70f84db4..00000000 --- a/scripts/outer_scripts_to_review/hw-diags +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# -## Wizard Kit: HW Diagnostics Launcher - -source launch-in-tmux - -SESSION_NAME="hw-diags" -WINDOW_NAME="Hardware Diagnostics" -TMUX_CMD="hw-diags-menu" - -launch_in_tmux "$@" diff --git a/scripts/outer_scripts_to_review/hw-diags-audio b/scripts/outer_scripts_to_review/hw-diags-audio deleted file mode 100755 index e581330f..00000000 --- a/scripts/outer_scripts_to_review/hw-diags-audio +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/python3 -# -## Wizard Kit: HW Diagnostics - Audio - -import os -import sys - -# Init -sys.path.append(os.path.dirname(os.path.realpath(__file__))) -from functions.common import * -init_global_vars() - -if __name__ == '__main__': - try: - # Prep - clear_screen() - print_standard('Hardware Diagnostics: Audio\n') - - # Set volume - try: - run_program('amixer -q set "Master" 80% unmute'.split()) - run_program('amixer -q set "PCM" 90% unmute'.split()) - except subprocess.CalledProcessError: - print_error('Failed to set volume') - - # Run tests - for mode in ['pink', 'wav']: - run_program( - cmd = 'speaker-test -c 2 -l 1 -t {}'.format(mode).split(), - check = False, - pipe = False) - - # Done - #print_standard('\nDone.') - #pause("Press Enter to exit...") - exit_script() - except SystemExit as sys_exit: - exit_script(sys_exit.code) - except: - major_exception() - -# vim: sts=2 sw=2 ts=2