snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit ccf58a017a9353da906b8c663ed5d3ae1ff25eff
parent e1600a1dff7e839666c100c4201d1bbab16472cc
Author: Josh Moore <jxm5210@rit.edu>
Date:   Mon,  8 Jun 2020 17:19:59 -0400

Modify init script for better cross-platform behavior

Diffstat:
Msnakeware/.gitignore | 2+-
Dsnakeware/overlay/etc/init.d/S30startpy | 15---------------
Asnakeware/overlay/etc/init.d/S50startpy | 15+++++++++++++++
3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/snakeware/.gitignore b/snakeware/.gitignore @@ -1,4 +1,4 @@ -buildroot/ +buildroot*/ *.img run.sh diff --git a/snakeware/overlay/etc/init.d/S30startpy b/snakeware/overlay/etc/init.d/S30startpy @@ -1,15 +0,0 @@ -#!/bin/sh - -amixer sset Master unmute -amixer sset Headphones unmute -amixer sset Speaker unmute - -amixer sset Master 100% - -# PYTHON THREE FOREVER BABY! -while [ 1 ] -do - clear - printf "SNAKEWARE READY.\n\n" - PYTHONSTARTUP=/usr/share/snakeware/startup.py /usr/bin/python3 -done diff --git a/snakeware/overlay/etc/init.d/S50startpy b/snakeware/overlay/etc/init.d/S50startpy @@ -0,0 +1,15 @@ +#!/bin/sh + +amixer sset Master unmute +amixer sset Headphones unmute +amixer sset Speaker unmute + +amixer sset Master 100% + +# PYTHON THREE FOREVER BABY! +while [ 1 ] +do + clear >/dev/tty1 + printf "SNAKEWARE READY.\n\n" >/dev/tty1 + PYTHONSTARTUP=/usr/share/snakeware/startup.py /usr/bin/python3 </dev/tty1 >/dev/tty1 2>&1 +done