Some ideas on Tim's script
George Rosamond
george at ceetonetechnology.com
Sun Feb 3 17:20:42 UTC 2013
On 02/02/13 00:54, Tim Kientzle wrote:
>
> On Jan 30, 2013, at 6:24 AM, George Rosamond wrote:
>
>> I mentioned this to Tim offline a while back, but I have some quick thoughts on options for the scripts.
>
> Here's the change I just made to the /etc/rc.conf used
> by my scripts for BeagleBone builds. If you have further
> suggestions, I'm happy to include them.
>
> --- a/board/BeagleBone/overlay/etc/rc.conf
> +++ b/board/BeagleBone/overlay/etc/rc.conf
> @@ -1,6 +1,14 @@
> hostname="beaglebone"
> ifconfig_cpsw0="DHCP"
> sshd_enable="YES"
> +rc_debug="YES"
> +rc_info="YES"
> +
> +tmpmfs="YES"
> +tmpsize="13m"
I've been using /etc/fstab in overlay for setting these, and it looks
like this:
/dev/mmcsd0s2a / ufs rw,noatime 1 1
md /tmp mfs rw,noatime,-s30m 0 0
md /var/log mfs rw,noatime,-s15m 0 0
md /var/tmp mfs rw,noatime,-s5m 0 0
Never used the tmpmfs option in rc.conf, but will try it out.
> +
> +ntpd_enable="YES"
> +ntpd_sync_on_start="YES"
>
> # Turn off a lot of standard stuff
> # for more free memory.
>
>
g
More information about the freebsd-arm
mailing list