mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-03-13 23:29:19 +01:00
Add files via upload
upload for FBCP
This commit is contained in:
parent
8686532a02
commit
8b708187f6
23
etc/rc.local
Normal file
23
etc/rc.local
Normal file
@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
sleep 7
|
||||
fbcp &
|
||||
|
||||
exit 0
|
23
etc/rc.local-original
Normal file
23
etc/rc.local-original
Normal file
@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
sleep 7
|
||||
fbcp &
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user