Skip to content

Commit

Permalink
v155
Browse files Browse the repository at this point in the history
+ DietPi-AutoStart | Resolved an issue where OPi devices would fail to
execute selected autostart option:
https://github.com/Fourdee/DietPi/issues/1109

+ DietPi-BugReport | Increased max upload size from 50MB to 80MB:
https://github.com/Fourdee/DietPi/issues/1086#issuecomment-317724186
  • Loading branch information
Fourdee committed Aug 18, 2017
1 parent a518f87 commit 98d3485
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ DietPi-Config | Networking > WiFi: Added a feature which will monitor the Wifi c

Bug fixes:
General | (Odroid C2): Resolved an issue where APT would fail to continue, due to deb-multimedia removing ARMv8 (ARM64) packages: https://github.com/Fourdee/DietPi/issues/1096
DietPi-AutoStart | Resolved an issue where OPi devices would fail to execute selected autostart option: https://github.com/Fourdee/DietPi/issues/1109
DietPi-BugReport | Increased max upload size from 50MB to 80MB: https://github.com/Fourdee/DietPi/issues/1086#issuecomment-317724186
DietPi-Software | Mumble/MurMur: Resolved an issue where superuser password was not being set during installation: http://dietpi.com/phpbb/viewtopic.php?f=11&t=2024#p8084
DietPi-Software | Tondio: Resolved an issue where the installation would fail due to lack of libjpeg8 packages, on Debian repos. Packages now hosted on dietpi.com: https://github.com/Fourdee/DietPi/issues/1101
DietPi-Software | Sparky SBC: WiFi Hotspot now triggers the RTL driver during install. This is hard coded, to configure for the official Allo WiFi dongle.
Expand Down
4 changes: 2 additions & 2 deletions dietpi/dietpi-bugreport
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

#Force en_GB Locale for whole script. Prevents incorrect parsing with non-english locales.
LANG=en_GB.UTF-8

#Ensure we are in users home dir: https://github.com/Fourdee/DietPi/issues/905#issuecomment-298223705
cd "$HOME"

# - byte
UPLOAD_FILESIZE_LIMIT=52428800
UPLOAD_FILESIZE_LIMIT=83886080
UPLOAD_FILESIZE=0

DATE_CURRENT=$(date +"%d-%m-%Y")
Expand Down
17 changes: 11 additions & 6 deletions dietpi/login
Original file line number Diff line number Diff line change
Expand Up @@ -55,34 +55,39 @@
local screen_valid=0

#OrangePi
if (( $HW_MODEL >= 30 )) && (( $HW_MODEL < 40 )); then
if [ "$(tty)" = "/dev/pts/0" ]; then
screen_valid=1
fi
# if (( $HW_MODEL >= 30 && $HW_MODEL < 40 )); then
# if [ "$(tty)" = "/dev/pts/0" ]; then
# screen_valid=1
# fi

if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then

#Everyone else
elif [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
screen_valid=1

fi

#Boot to specific Program
if (( $screen_valid == 1 )); then

#Kodi
if (( $AUTO_START_INDEX == 1 )); then

/DietPi/dietpi/misc/start_kodi

#Desktop (LXDE/MATE etc)
elif (( $AUTO_START_INDEX == 2 )); then

startx

#RetroPie/Emulation station
elif (( $AUTO_START_INDEX == 3 )); then

#emulationstation - can no longer be run as root
/opt/retropie/supplementary/emulationstation/emulationstation.sh

#OpenTyrian
elif (( $AUTO_START_INDEX == 4 )); then

/usr/local/games/opentyrian/run

#DietPi-Cloudshell
Expand Down

1 comment on commit 98d3485

@Invictaz
Copy link

@Invictaz Invictaz commented on 98d3485 Aug 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 80MB is nice but I cannot afford to retest the LXDE install for now. Maybe later. The ALSA 100 bug in X86_64 may need to be solved first. It locks up the dietpi-software.

Please sign in to comment.