From b25af944a18093d8dff128b79199e9411bf5070b Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Thu, 8 Oct 2015 10:31:09 +0200 Subject: [PATCH] [FIX] point_of_sale: remove raspi-config message on posbox Every time the posbox boots it would say something like: This raspberry pi is not configured, please run raspi-config Which is a leftover from the original raspbian image. Raspi-config is removed on the posbox because we don't need it. --- .../posbox/overwrite_before_init/etc/init_posbox_image.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh index cda4dfbd6b1..c32a4f6e845 100755 --- a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh +++ b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh @@ -40,6 +40,9 @@ localepurge rm -rf /usr/share/doc || true rm -rf /home/pi/python_games || true +# remove raspi-config notice, it's not necessary and it's not installed anyway +rm -f /etc/profile.d/raspi-config.sh || true + # python-usb in wheezy is too old # the latest pyusb from pip does not work either, usb.core.find() never returns # this may be fixed with libusb>2:1.0.11-1, but that's the most recent one in raspbian