Logan Gartner
ffdd76098f
Removed the stupid Mathematica EULA agreement Added screen timeout adjustments Shuffled files around to more appropriate places Added a TODO file so that I can keep track of stuff to add OctoPrint account is now a system account and cannnot be logged into First-time is now in profile.d. It is now ran by getty which automatically logs in as root on first boot and then runs the script First-time now uses chpasswd instead of passwd (passwd is shit for this)
11 lines
332 B
Bash
Executable file
11 lines
332 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
install -m 755 files/first-time.sh ${ROOTFS_DIR}/etc/profile.d/first-time.sh
|
|
|
|
mkdir -p ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/
|
|
cat > ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/override.conf << 'EOF'
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=-/usr/sbin/agetty --autologin root --noclear %I $TERM
|
|
EOF
|
|
|