mirror of https://github.com/CIRCL/Circlean
parent
5c50940ed6
commit
2c48aa5260
|
@ -0,0 +1,56 @@
|
||||||
|
root:x:0:
|
||||||
|
daemon:x:1:
|
||||||
|
bin:x:2:
|
||||||
|
sys:x:3:
|
||||||
|
adm:x:4:pi
|
||||||
|
tty:x:5:
|
||||||
|
disk:x:6:
|
||||||
|
lp:x:7:
|
||||||
|
mail:x:8:
|
||||||
|
news:x:9:
|
||||||
|
uucp:x:10:
|
||||||
|
man:x:12:
|
||||||
|
proxy:x:13:
|
||||||
|
kmem:x:15:
|
||||||
|
dialout:x:20:pi
|
||||||
|
fax:x:21:
|
||||||
|
voice:x:22:
|
||||||
|
cdrom:x:24:pi
|
||||||
|
floppy:x:25:
|
||||||
|
tape:x:26:
|
||||||
|
sudo:x:27:pi
|
||||||
|
audio:x:29:pi
|
||||||
|
dip:x:30:
|
||||||
|
www-data:x:33:
|
||||||
|
backup:x:34:
|
||||||
|
operator:x:37:
|
||||||
|
list:x:38:
|
||||||
|
irc:x:39:
|
||||||
|
src:x:40:
|
||||||
|
gnats:x:41:
|
||||||
|
shadow:x:42:
|
||||||
|
utmp:x:43:
|
||||||
|
video:x:44:pi
|
||||||
|
sasl:x:45:
|
||||||
|
plugdev:x:46:pi,kitten
|
||||||
|
staff:x:50:
|
||||||
|
games:x:60:pi
|
||||||
|
users:x:100:pi
|
||||||
|
nogroup:x:65534:
|
||||||
|
libuuid:x:101:
|
||||||
|
crontab:x:102:
|
||||||
|
pi:x:1000:
|
||||||
|
ssh:x:103:
|
||||||
|
ntp:x:104:
|
||||||
|
netdev:x:105:pi
|
||||||
|
input:x:999:pi
|
||||||
|
messagebus:x:106:
|
||||||
|
lpadmin:x:107:
|
||||||
|
fuse:x:108:
|
||||||
|
lightdm:x:109:
|
||||||
|
indiecity:x:1001:root
|
||||||
|
spi:x:1002:pi
|
||||||
|
gpio:x:1003:pi
|
||||||
|
weston-launch:x:110:
|
||||||
|
kitten:x:1004:
|
||||||
|
systemd-journal:x:111:
|
|
@ -0,0 +1,5 @@
|
||||||
|
# /etc/pmount.allow
|
||||||
|
# pmount will allow users to additionally mount all devices that are
|
||||||
|
# listed here.
|
||||||
|
/dev/sdb1
|
||||||
|
/dev/sda*
|
|
@ -12,6 +12,7 @@
|
||||||
# By default this script does nothing.
|
# By default this script does nothing.
|
||||||
|
|
||||||
clean(){
|
clean(){
|
||||||
|
echo 'Rc Local done, quit.'
|
||||||
systemctl poweroff
|
systemctl poweroff
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +28,9 @@ if [ -e /dev/sda ]; then
|
||||||
cd /opt/groomer
|
cd /opt/groomer
|
||||||
/usr/sbin/led &
|
/usr/sbin/led &
|
||||||
# avoid possible misuse
|
# avoid possible misuse
|
||||||
/sbin/ifconfig eth0 down
|
systemctl stop display-manager
|
||||||
|
systemctl stop sshd
|
||||||
|
systemctl stop dbus-org.freedesktop.ModemManager1
|
||||||
./init.sh
|
./init.sh
|
||||||
systemctl poweroff
|
systemctl poweroff
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
kitten hard priority -20
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=/etc/rc.local Compatibility
|
||||||
|
ConditionPathExists=/etc/rc.local
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/etc/rc.local start
|
||||||
|
StandardOutput=tty
|
||||||
|
RemainAfterExit=yes
|
||||||
|
SysVStartPriority=99
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,2 @@
|
||||||
|
KERNEL=="sdc", SYMLINK+="mmcblk0"
|
||||||
|
KERNEL=="sdc?", SYMLINK+="mmcblk0p%n",
|
|
@ -5,6 +5,12 @@ set -e
|
||||||
|
|
||||||
source ./constraint.sh
|
source ./constraint.sh
|
||||||
|
|
||||||
|
killed(){
|
||||||
|
echo 'Music stopped.'
|
||||||
|
}
|
||||||
|
|
||||||
|
trap killed EXIT TERM INT
|
||||||
|
|
||||||
# Force output on analog
|
# Force output on analog
|
||||||
amixer cset numid=3 1
|
amixer cset numid=3 1
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set timeout -1
|
set timeout -1
|
||||||
|
|
||||||
spawn qemu-system-arm -kernel 140730-kernel -cpu arm1176 -m 200 -M versatilepb \
|
spawn qemu-system-arm -kernel 140801-kernel -cpu arm1176 -m 256 -M versatilepb \
|
||||||
-append "root=/dev/sdc2 panic=1 rootfstype=ext4 ro console=ttyAMA0 console=ttyS0" \
|
-append "root=/dev/sdc2 panic=1 rootfstype=ext4 ro console=ttyAMA0 console=ttyS0" \
|
||||||
-drive file=[lindex $argv 1],index=0,media=disk \
|
-drive file=[lindex $argv 1],index=0,media=disk \
|
||||||
-drive file=[lindex $argv 2],index=1,media=disk \
|
-drive file=[lindex $argv 2],index=1,media=disk \
|
||||||
|
|
Loading…
Reference in New Issue