working on rpi borging

This commit is contained in:
2019-10-04 05:26:33 -07:00
parent f467f89c85
commit 45b3eb8ad5
15 changed files with 237 additions and 0 deletions

View File

View File

@@ -0,0 +1 @@
LANG=en_US.UTF-8

24
pisetup/root/etc/rc.local Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
if [ -e /boot/rc.local.txt ]; then
. /boot/rc.local.txt
fi
exit 0

View File

@@ -0,0 +1,5 @@
#!/bin/bash
whoami
uptime
cat /etc/rc.local