innocent SBC fun
This commit is contained in:
parent
742ea83bfa
commit
b42fd70b87
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# sudo systemctl enable rusefi
|
||||||
|
#
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=rusEFI systemd
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/rw/startup_root.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd /rw
|
||||||
|
date >> startup.log
|
||||||
|
whoami >> startup.log
|
||||||
|
|
||||||
|
sudo su - pi /rw/startup_user.sh
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd /rw
|
||||||
|
echo Hello User
|
||||||
|
whoami >> startup.log
|
Loading…
Reference in New Issue