CCR BeagleBone Tools  v0.0.1-2206
Production Tools for BeagleBone Devices
 All Pages
CCR Miscellaneous
See Also
BeagleBone Tools

CCR_Misc is a small collection of unrelated fixes and changes.

Key Description
available since 2017-01
package filename ccr_misc-xyz.deb
configuration none
cron job /etc/cron.d/ccr_misc
scripts /usr/bin/ccr_misc.sh
/usr/bin/ccr_dns_cache.sh [enable/disable]
/usr/bin/ccr_remove_misc.sh
/usr/bin/ccr_remove_x.sh
/usr/bin/ccr_ubuntu_repo.sh [enable/disable]
examples sudo ccr_misc.sh
sudo ccr_remove_misc.sh
sudo ccr_remove_x.sh
sudo ccr_ubuntu_repo.sh

Fixes included in ccr_misc.sh are:

  • purge deleted packages to free up disk space
  • prevent excessive rsyslog logging about "action X suspended"
  • disable avahi network discovery

The script ccr_dns_cache.sh can be used to either enable or disable the DNS cache in ConnMan. When enabled, ConnMan behaves as a caching DNS server, and listens on port 53 to handle DNS queries. When disabled, /etc/resolv.conf is updated with the address of external name servers.

Changes included in ccr_remove_misc.sh are:

  • remove documentation
  • remove bone101
  • remove cloud 9
  • remove nodejs

Running ccr_remove_misc.sh will free up approximately 600 MiB of space. The script prompts before removing anything.

Changes included in ccr_remove_x.sh are:

  • remove x11
  • remove gnome
  • remove lxqt

Running ccr_remove_x.sh will free up approximately 400 MiB of space. The script prompts before removing anything.

Changes included in ccr_ubuntu_repo.sh are:

  • add (or remove) several Ubuntu repos to /etc/apt/sources.list.d/ccr_ubuntu_repo.list
  • add the Ubuntu repo gpg keys
  • performs apt-get update
Note
The ccr_remove_*.sh and ccr_ubuntu_repo.sh scripts will not run automatically! You must manually run them to remove the packages and free up disk space.

To install:

sudo dpkg -i ccr_misc-*.deb

Then either reboot the device, or manually run the script:

sudo ccr_misc.sh
See Also
/etc/rsyslog.conf