1
0
Fork 0
mirror of https://github.com/kou029w/yama.git synced 2025-01-19 08:28:01 +00:00
yama/apkovl/etc/init.d/megabit-sync
Kohei Watanabe ae8a2cc222 enable serial
change g_mass_storage to g_acm_ms
2021-09-04 20:26:35 +09:00

11 lines
267 B
Text
Executable file

#!/sbin/openrc-run
name=megabit-sync
command="/usr/local/bin/megabit-sync"
pidfile="/var/run/megabit-sync.pid"
start_pre() {
mkdir -p /mnt/tmp
mount /usr/share/megabit/tmp.img /mnt/tmp
modprobe -r g_acm_ms
modprobe g_acm_ms file=/usr/share/megabit/tmp.img
}