Created
January 26, 2017 03:03
-
-
Save bryanstearns/793934aa8a20e871aec310adab3cfa10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Additional configuration for erlinit | |
# Customized (see BJS) from the nerves default | |
# from deps/nerves_system_rpi2/rootfs-additions/etc/erlinit.config | |
# Turn on the debug prints | |
#-v | |
# Specify the UART port that the shell should use. | |
# BJS: was -c tty1 | |
-c ttyS0 | |
# If more than one tty are available, always warn if the user is looking at | |
# the wrong one. | |
--warn-unused-tty | |
# Use dtach to capture the iex session so that it can be redirected | |
# to the app's GUI | |
#-s "/usr/bin/dtach -N /tmp/iex_prompt" | |
# Specify the user and group IDs for the Erlang VM | |
#--uid 100 | |
#--gid 200 | |
# Uncomment to hang the board rather than rebooting when Erlang exits | |
--hang-on-exit | |
# Optionally run a program if the Erlang VM exits | |
#--run-on-exit /bin/sh | |
# Enable UTF-8 filename handling in Erlang and custom inet configuration | |
-e LANG=en_US.UTF-8;LANGUAGE=en;ERL_INETRC=/etc/erl_inetrc | |
# Mount the application partition | |
# See http://www.linuxfromscratch.org/lfs/view/6.3/chapter08/fstab.html about | |
# ignoring warning the Linux kernel warning about using UTF8 with vfat. | |
-m /dev/mmcblk0p3:/root:vfat:: | |
# Erlang release search path | |
-r /srv/erlang | |
# Assign a unique hostname based on the board id | |
-d "/usr/bin/boardid -b rpi -n 4" | |
-n nerves-%.4s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment