enable serial

change g_mass_storage to g_acm_ms
This commit is contained in:
Nebel 2021-09-04 20:26:35 +09:00
parent d524540d8c
commit ae8a2cc222
3 changed files with 7 additions and 2 deletions

View file

@ -6,6 +6,6 @@ pidfile="/var/run/megabit-sync.pid"
start_pre() { start_pre() {
mkdir -p /mnt/tmp mkdir -p /mnt/tmp
mount /usr/share/megabit/tmp.img /mnt/tmp mount /usr/share/megabit/tmp.img /mnt/tmp
modprobe -r g_mass_storage modprobe -r g_acm_ms
modprobe g_mass_storage file=/usr/share/megabit/tmp.img modprobe g_acm_ms file=/usr/share/megabit/tmp.img
} }

4
apkovl/etc/inittab Normal file
View file

@ -0,0 +1,4 @@
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
ttyGS0::respawn:/sbin/getty -L ttyGS0 115200 vt100

1
apkovl/etc/securetty Normal file
View file

@ -0,0 +1 @@
ttyGS0