blob: 7be544e424c2281fbf9f50824f3119d82fb89377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/bash
if [ $(id -u) != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# post install
#
# adjust nproc in make.conf
# setup /etc/fstab
#plymouth-set-default-theme fade-in
# adjust /etc/default/grub
# splash quiet
#rc-update add zfs-import boot
#rc-update add zfs-mount boot
rc-update add dbus default
rc-update add dhcpcd default
rc-update add avahi-daemon default
sensors-detect --auto
rc-update add lm_sensors default
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
sed -i "s/ workgroup = MYGROUP/ workgroup = WORKGROUP/" /etc/samba/smb.conf
# grub-mkconfig -o /boot/grub/grub.cfg
su - gentoox
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|