mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
Remove first boot auto-login files
This commit is contained in:
parent
586bee19c9
commit
e1a0e4e1de
1
debian/raspi-config.docs
vendored
1
debian/raspi-config.docs
vendored
@ -1 +0,0 @@
|
||||
sample_profile_d.sh
|
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Part of raspi-config http://github.com/asb/raspi-config
|
||||
#
|
||||
# See LICENSE file for copyright and license details
|
||||
|
||||
# Should be installed to /etc/profile.d/raspi-config.sh to force raspi-config
|
||||
# to run at initial login
|
||||
|
||||
# You may also want to set automatic login in /etc/inittab on tty1 by adding a
|
||||
# line such as:
|
||||
# 1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1 # RPICFG_TO_DISABLE
|
||||
|
||||
if [ $(id -u) -ne 0 ]; then
|
||||
printf "\nNOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config'\n\n"
|
||||
else
|
||||
raspi-config
|
||||
exec login -f pi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user