badge-buildroot/board/businesscard/v1/post-build.sh

4 lines
179 B
Bash
Raw Normal View History

2019-07-31 02:07:02 +00:00
#!/bin/sh
grep -q "GADGET_SERIAL" "${TARGET_DIR}/etc/inittab" \
|| echo '/dev/ttyGS0::respawn:/sbin/getty -L /dev/ttyGS0 0 vt100 # GADGET_SERIAL' >> "${TARGET_DIR}/etc/inittab"