Circlean/prepare_rPI.sh

28 lines
548 B
Bash
Raw Normal View History

#!/bin/bash
# change locales to en_US.UTF-8
dpkg-reconfigure locales
sed -i "s/wheezy/jessie/" /etc/apt/sources.list
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get install libreoffice p7zip-full libfontforge1 timidity freepats pmount
dpkg -i pdf2htmlex*.deb
2014-03-26 16:42:20 +01:00
# Make Libreoffice usable on a RO filesystem
useradd -m kitten
pushd /home/kitten
ln -s /tmp/libreoffice
popd
chown -R kitten:kitten /home/kitten
ln -s /proc/mounts /etc/mtab
2014-03-26 16:42:20 +01:00
# Disable swap
dphys-swapfile uninstall
# enable rc.local
systemctl enable rc-local.service