mirror of
https://github.com/pimox/pimox7.git
synced 2025-05-17 05:57:25 +00:00
commit
2f2334bc2b
@ -1,7 +1,7 @@
|
|||||||
# !/bin/bash
|
# !/bin/bash
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Name: RPiOS64-IA-Install.sh Version: 0.1.2 #
|
# Name: RPiOS64-IA-Install.sh Version: 0.1.2 #
|
||||||
# Created: 07.09.2021 Modified: 13.11.2021 #
|
# Created: 07.09.2021 Modified: 06.12.2021 #
|
||||||
# Author: TuxfeatMac J.T. #
|
# Author: TuxfeatMac J.T. #
|
||||||
# Purpose: interactive, automatic, Pimox7 installation RPi4B, RPi3B+ #
|
# Purpose: interactive, automatic, Pimox7 installation RPi4B, RPi3B+ #
|
||||||
#########################################################################################################################################
|
#########################################################################################################################################
|
||||||
@ -19,9 +19,16 @@ GREY=$(tput setaf 8)
|
|||||||
#### SCRIPT IS MENT TO BE TO RUN AS ROOT! NOT AS PI WITH SUDO ###########################################################################
|
#### SCRIPT IS MENT TO BE TO RUN AS ROOT! NOT AS PI WITH SUDO ###########################################################################
|
||||||
if [ $USER != root ]
|
if [ $USER != root ]
|
||||||
then
|
then
|
||||||
printf "This script is ment to be to run as superuser!\n"
|
printf "${RED}PLEASE RUN THIS SCRIPT AS ROOT! DONT USE SUDO! $NORMAL \n"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
printf " $YELLOW
|
||||||
|
====================================================================
|
||||||
|
! PLEASE DONT USE SUDO, USE SU TO LOGIN TO THE ROOT USER !
|
||||||
|
! PLEASE STOP THIS SCRIPT NOW WITH CONTROL+C IF YOU ARE USING SUDO !
|
||||||
|
! CONTINUING SETUP IN 3 SECONDS... !
|
||||||
|
====================================================================
|
||||||
|
$NORMAL\n" && sleep 3
|
||||||
|
|
||||||
#### GET THE RPI MODEL #### EXTRA STEPS FOR RPI3B+ ##################### UNTESTED #######################################################
|
#### GET THE RPI MODEL #### EXTRA STEPS FOR RPI3B+ ##################### UNTESTED #######################################################
|
||||||
RPIMOD=$(cat /sys/firmware/devicetree/base/model | cut -d ' ' -f 3)
|
RPIMOD=$(cat /sys/firmware/devicetree/base/model | cut -d ' ' -f 3)
|
||||||
@ -115,7 +122,7 @@ if [ "$CONFIRM" != "y" ]; then exit; fi
|
|||||||
#### SET A ROOT PWD FOR WEB GUI LOGIN ###################################################################################################
|
#### SET A ROOT PWD FOR WEB GUI LOGIN ###################################################################################################
|
||||||
printf "
|
printf "
|
||||||
=========================================================================================
|
=========================================================================================
|
||||||
$RED ! SET YOUR ROOT PASSWORD ! $NORMAL
|
$RED ! SETUP NEW ROOT PASSWORD ! $NORMAL
|
||||||
=========================================================================================\n
|
=========================================================================================\n
|
||||||
" && passwd
|
" && passwd
|
||||||
if [ $? != 0 ]; then exit; fi
|
if [ $? != 0 ]; then exit; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user