-
Notifications
You must be signed in to change notification settings - Fork 12
/
todo
86 lines (55 loc) · 2.83 KB
/
todo
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Use asmc and ataidle to park heads when laptop is moved
Portable, desktop-independent battery monitor
Run minimized, show % and time remaining
Popup warnings for low battery
Auto-shutdown for very low battery
Probably a Qt app, see qmediamanager for a model
Add auto-update-system cron config
https://forums.freebsd.org/threads/macbook-pro-5-1-realtek-alc889a-sound-setup.56061/
Maybe enable speakers and headphone auto-switch?
dev.hdaa.0.gpio_config="0=set 1=set"
hw.snd.default_unit=1
hint.hdaa.0.nid20.config="as=4 seq=15"
Make sure /etc/hosts has a fqdn matching the hostname
127.0.0.1 localhost.localhost.domain hostname.domain hostname
same for ::1
List additional video drivers to install
Server motherboards often have obsolete chipsets
Explain need for wireless drivers
Install anacron?
one suggestion from [email protected]
I've meant those periodic tasks that are already in /etc/crontab - daily,
weekly, monthly. They seem to run almost never at desktops, that work on
daily basis and are switched off at evening. But. the other side of
enabling the the periodic through anacron is that roots mail will be
spammed with the periodic reports. To avoid this, there shoud be line
in periodic.conf making periodic to write it's repots to file, and
syslod-ng rotating this files and maybe other things should be done.....
So it's an overtask for the desktop-installer possibly.
Linimon:
There are several structural problems:
2) the assumption that any port/pkg install failure is fatal.
3) the lack of correctly determining whether a pkg is available
to install.
------------------------------------------------------------------
3) is illustrated by the following:
if fgrep -q FOR_ARCHS $PORTSDIR/$pkg/Makefile
Nope and nope. Completely bogus test. If you *are* going to
query port Makefiles the only robust thing is something like:
(cd $PORTSDIR/$pkg/Makefile && make ARCH=$arch -V IGNORE)
For only thing, I already shortened ONLY_FOR_ARCHS to FOR_ARCHS.
But that is still not correct.
------------------------------------------------------------------
But that's the correct way for _ports_.
For _packages_, which IMVVHO we should in all cases set as default
for users of this script, every possible port install:
if ! auto-package-installed $pkg && [ -d $PORTSDIR/$pkg ]; then
should be immediately followed by something like:
rdescr=$(pkg rquery %e $pkg 2> /dev/null || true)
if [ -z "${rdescr}" ]; then
printf "Unfortunately, recommended package $pkg is not available for your system.\n"
else
I can generate a patch for the ones in common_packages(). But it
might be better as a refactoring of install_packages.
I will wait to try that hacking until you say one way or the other.
------------------------------------------------------------------