diff options
author | Britney Fransen <brfransen@gmail.com> | 2022-12-22 21:26:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2022-12-22 21:26:40 (GMT) |
commit | 89ea4d27868636f27241dbcd23dda9b4d73592f7 (patch) | |
tree | 5707bb2174325c906a532a0088c53b63c8b91e51 /linhes/linhes-system/lh_system_start.sh | |
parent | d71a8c4bf9661ab7e25c85dacede49375b624fa7 (diff) | |
download | linhes_pkgbuild-89ea4d27868636f27241dbcd23dda9b4d73592f7.zip linhes_pkgbuild-89ea4d27868636f27241dbcd23dda9b4d73592f7.tar.gz linhes_pkgbuild-89ea4d27868636f27241dbcd23dda9b4d73592f7.tar.bz2 |
linhes-system: add_storage.py: remove old LH8 installer things
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-x | linhes/linhes-system/lh_system_start.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh index 24c35d5..42f4b67 100755 --- a/linhes/linhes-system/lh_system_start.sh +++ b/linhes/linhes-system/lh_system_start.sh @@ -5,7 +5,7 @@ #SystemType=Masterbackend function msg(){ - /usr/bin/notify-send --app-name="LinHES" --icon=dialog-information "$1" "$2" + /usr/bin/lh_notify-send --app-name="LinHES" --icon=dialog-information "$1" "$2" } function check_installer_user(){ @@ -55,6 +55,7 @@ function nanorc_setup(){ } function storage_scan(){ + sudo add_storage.py --report > /dev/null if [ -e /tmp/scan_report ]; then msg "New Storage Found" "Run add_storage.py for details." fi @@ -107,10 +108,14 @@ function first_configure(){ fi } - +function start_myth() { + STARTCMD="/usr/bin/mythfrontend + $STARTCMD 2>&1 & +} #-------MAIN------- check_installer_user first_configure /usr/bin/enableIRWake.sh & storage_scan +start_myth |