mirror of
https://github.com/kou029w/megabit-os.git
synced 2025-01-18 16:07:58 +00:00
enable serial
change g_mass_storage to g_acm_ms
This commit is contained in:
parent
d524540d8c
commit
ae8a2cc222
3 changed files with 7 additions and 2 deletions
|
@ -6,6 +6,6 @@ pidfile="/var/run/megabit-sync.pid"
|
|||
start_pre() {
|
||||
mkdir -p /mnt/tmp
|
||||
mount /usr/share/megabit/tmp.img /mnt/tmp
|
||||
modprobe -r g_mass_storage
|
||||
modprobe g_mass_storage file=/usr/share/megabit/tmp.img
|
||||
modprobe -r g_acm_ms
|
||||
modprobe g_acm_ms file=/usr/share/megabit/tmp.img
|
||||
}
|
||||
|
|
4
apkovl/etc/inittab
Normal file
4
apkovl/etc/inittab
Normal 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
1
apkovl/etc/securetty
Normal file
|
@ -0,0 +1 @@
|
|||
ttyGS0
|
Loading…
Add table
Reference in a new issue