bookworm/roles/edulive/files/standard-edu/config/hooks/live/0500-tmpshare.hook.chroot
2023-09-05 15:11:41 +02:00

15 lines
530 B
Bash
Executable file

#!/bin/sh
set -e
## shared directory:
mkdir /media/tmpshare
echo "livebox:/srv/tmpshare /media/tmpshare nfs rw,auto,nofail,nolock 0 0" >> /etc/fstab
## remote journal:
echo "URL=http://livebox" >> /etc/systemd/journal-upload.conf
ln -s /lib/systemd/system/systemd-journal-upload.service \
/etc/systemd/system/multi-user.target.wants/systemd-journal-upload.service
## workaround https://bugzilla.gnome.org/show_bug.cgi?id=730587
#dpkg-divert --divert /usr/bin/gnome-keyring-daemon.bak --rename /usr/bin/gnome-keyring-daemon