mirror of https://github.com/CIRCL/Circlean
Adjustments to match repo to working image
parent
b2cbe7b7e6
commit
47f25c07b5
|
@ -19,7 +19,7 @@ cdrom:x:24:pi
|
||||||
floppy:x:25:
|
floppy:x:25:
|
||||||
tape:x:26:
|
tape:x:26:
|
||||||
sudo:x:27:pi
|
sudo:x:27:pi
|
||||||
audio:x:29:pi
|
audio:x:29:pi,timidity
|
||||||
dip:x:30:
|
dip:x:30:
|
||||||
www-data:x:33:
|
www-data:x:33:
|
||||||
backup:x:34:
|
backup:x:34:
|
||||||
|
@ -52,3 +52,4 @@ indiecity:x:1001:root
|
||||||
spi:x:1002:pi
|
spi:x:1002:pi
|
||||||
gpio:x:1003:pi
|
gpio:x:1003:pi
|
||||||
kitten:x:1004:
|
kitten:x:1004:
|
||||||
|
timidity:x:110:
|
||||||
|
|
|
@ -21,12 +21,6 @@ clean(){
|
||||||
|
|
||||||
echo "GROOMER: end of boot, running rc.local."
|
echo "GROOMER: end of boot, running rc.local."
|
||||||
|
|
||||||
# Print the IP address (this doesn't work currently?)
|
|
||||||
# _IP=$(hostname -I) || true
|
|
||||||
# if [ "$_IP" ]; then
|
|
||||||
# printf "My IP address is %s\n" "$_IP"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
if [ -e /dev/sda ]; then
|
if [ -e /dev/sda ]; then
|
||||||
if [ -e /dev/sdb ]; then
|
if [ -e /dev/sdb ]; then
|
||||||
# Avoid possible misuse - turn off eth0 (ethernet port)
|
# Avoid possible misuse - turn off eth0 (ethernet port)
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=/etc/rc.local Compatibility
|
Description=/etc/rc.local Compatibility
|
||||||
|
ConditionPathExists=/etc/rc.local
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=forking
|
||||||
ExecStart=/etc/rc.local
|
ExecStart=/etc/rc.local start
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
StandardInput=tty
|
StandardOutput=tty
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
SysVStartPriority=99
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue