#!/bin/sh ########################################################################### # # Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # @file _variables_ # # @author (last) Behrouz NematiPour # @date (last) 15-Jan-2025 # @author (original) Behrouz NematiPour # @date (original) 15-Jan-2025 # ############################################################################ # Description # Definition of all the global variables # Parameters # No specific parameter # Retruns # No specific response # Considerations # This gloval variables are different than the error varables and shall not be combinled. # For error definitions use the _errors_ file. # sources # variables TRUE=1 FALSE=0 COMMENT_DASH="--------------------------------------------------------------------------------" ## Brightness BRIGHTNESS_SYSFS="/sys/class/backlight/lvds_backlight/brightness" ## SD-Card SDCARD_DEV=/dev/mmcblk1 SDCARD_PRT=/dev/mmcblk1p1 SDCARD_MNT=/media/sd-card SDCARD_TYP_NAME=ext4 SDCARD_TYP_NUMB=83 CMD_SDCARD_DEV="ls $SDCARD_DEV" CMD_SDCARD_PRT="ls $SDCARD_PRT" CMD_LINUX_TYPE="sfdisk --part-type $SDCARD_DEV 1"