xtraeme
b8ef2c3d1f
Fix a typo in previous.
2007-10-11 00:30:47 +00:00
xtraeme
d6753145c8
Use consistenly more meaningful messages in all envsys scripts.
2007-10-11 00:11:24 +00:00
xtraeme
7ade6d03ad
Fix the problems described in:
...
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html
- Introduce sme_class into the sysmon_envsys struct to specify a
class; currently there are two classes: SME_CLASS_ACADAPTER and
SME_CLASS_BATTERY.
- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
any SME_CLASS_ACADAPTER connected.
- Add the 'low-power' event into the sensor_battery script that will
shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
not running, cpu_reboot(9) with RB_POWERDOWN is used.
- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
SME_CLASS_BATTERY device.
Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
xtraeme
51dabc46f7
Fix the it(4) values on the ASUS M2N-E motherboard, tested by wiz@.
2007-10-10 20:49:38 +00:00
xtraeme
2026f84dc1
Only print the message if the command ran successfully.
2007-10-07 05:30:56 +00:00
xtraeme
4b431f1771
Update for the new configuration file format for envstat(8)
...
and the envsys framework.
The rc.d has been simplified vastly... the configuration file now
is more powerful than ever!
2007-10-07 04:19:06 +00:00
xtraeme
c5c7ad7f7c
Fix up the it(4) example.
2007-09-05 14:18:55 +00:00
xtraeme
29742be0c4
Only three events are reported now:
...
normal
state-changed
user-capacity
But there's a fourth argument passed to the script that will report
current state description.
2007-09-04 16:59:49 +00:00
jmmv
36188e7296
Properly capitalize NetBSD in URLs.
2007-08-30 15:56:34 +00:00
adrianp
67b08a07ec
The location of the pkg_info binary can now be specified in /etc/security.conf.
...
The default remains as /usr/sbin/pkg_info. This should fix PR# 36746.
2007-08-27 19:57:02 +00:00
pavel
d4b5db05c7
Add some magic (similar to the one in rc.d/sendmail introduced with 2.0
...
release) to not start postfix if $postfix is not explicitely set and
another mailer is selected in /etc/mailer.conf. Also print a warning if it
happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
2007-08-27 10:59:05 +00:00
dyoung
ea3cf9a639
Let an rc variable, sysdb=YES|NO, control the building of the system
...
databases. Defaults to YES.
2007-08-26 23:55:50 +00:00
apb
e2832b6345
Back out previous (which worked but made the code harder to understand),
...
and implement a different method of avoiding a "-0" result.
2007-08-25 07:07:39 +00:00
martin
fe7b5be8b0
Cosmetics: print 0 instead of -0.
...
From Zafer Aydogan in PR bin/36831.
2007-08-24 17:02:32 +00:00
nonaka
05cbb430da
Added wscons to ramdisk for tpctl.
2007-08-10 16:23:59 +00:00
tron
b21dec1752
Add code to monitor the disk wedges (see dk(4)) configured on the
...
system. Based on a patch contributed by Andreas Wrede in PR misc/36747.
2007-08-09 07:50:58 +00:00
tsutsui
6abcd959b3
Restore targets for sd(4) devices, which can be attached at atapibus(4).
...
Closes PR port-shark/36693.
2007-08-08 13:12:06 +00:00
jnemeth
1c35d39ad7
PR/36732 - Jim Bernard -- delete /usr/libexec/uucp/uucico from list of shells
2007-08-05 00:10:37 +00:00
ad
18af8ee9bd
Add cpuctl(8). For now this is not much more than a toy for debugging and
...
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
jmmv
9de952fb19
sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
...
devices instead of just ttyE0.
2007-08-01 14:19:32 +00:00
nonaka
a91142d11f
INSTALL kernel build, too.
2007-08-01 11:38:53 +00:00
nonaka
4498ddd5cb
Added apm and audio device files.
2007-08-01 11:38:16 +00:00
jmmv
458be06c42
Switch the console to use vt100, as done in almost all other platforms.
...
GENERIC has provided wscons for a while, with "options WSEMUL_VT100"
enabled by default.
2007-07-31 19:55:03 +00:00
jmmv
d291012153
Switch NetBSD/shark's installation kernel and disk image to use wscons
...
instead of pccons, just like its GENERIC kernel does.
This obsoletes pccons in this platform, which will probably be removed
later.
2007-07-31 19:51:58 +00:00
jmmv
a556f30fda
In the shark's installation image, create the bpf device from the
...
'ramdisk' MAKEDEV goal instead of from a Makefile definition. As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
2007-07-30 14:03:17 +00:00
xtraeme
66c5665356
- Ignore lines with desc at start/stop time, this target must be used
...
manually.
- Ignore lines with rfact at stop time, they cannot be stopped.
Reported by wiz@.
2007-07-25 12:47:44 +00:00
pavel
de89ac5321
Add a comment reminding to update the release notes if the list of
...
kernels change.
2007-07-24 10:49:23 +00:00
pavel
8a0862e62b
Add a comment reminding to update the release notes if the list of
...
kernels change.
2007-07-24 10:28:05 +00:00
jmmv
344ebed286
Fix the URL to the send-pr form as it now lives in another address. Not
...
critical since the server has redirections to make the old URL work, but
these may disappear.
2007-07-24 09:05:53 +00:00
plunky
2134bb0314
add requirement for bthcid since devices may need to authenticate
2007-07-23 18:06:56 +00:00
xtraeme
e8d5f35d1f
Do not shutdown the system when a critical event is received, this
...
doesn't work when there are two or more batteries in acpibat(4).
2007-07-17 13:56:25 +00:00
xtraeme
8a3fc18201
This one is shared for Indicators and Integers... update the comment.
2007-07-16 17:51:09 +00:00
ad
96d0aa8e9b
fixsb has done its job.
2007-07-14 21:20:31 +00:00
adrianp
3e46582d49
Add a default audit-packages configuration file for audit-packages
...
(part of pkg_install-20070714)
2007-07-14 19:53:52 +00:00
xtraeme
504183f783
Fix previous: typo and missing word.
2007-07-07 09:57:47 +00:00
xtraeme
ac978f4c7f
Add additional configuration for the ASUS M2N-E motherboard using
...
the it(4) driver, verified with aiboost(4). Values found by wiz@.
2007-07-07 09:31:54 +00:00
xtraeme
e9878e8efb
Add the /etc/powerd/scripts/sensor_indicator to handle events on
...
indicator sensors.
Update powerd(8).
2007-07-02 15:26:18 +00:00
xtraeme
f48b67ffaf
Forgot to add envsys.conf.
2007-07-01 11:04:31 +00:00
xtraeme
bca6ba70fe
Add the /etc/rc.d/envsys script required by envsys2.
2007-07-01 08:01:29 +00:00
xtraeme
08d5afa292
Imported envsys 2, a brief description of the new features:
...
(Part 4: documentation and configuration files)
* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
sysmon_power(9) and powerd(8), that means there is no 32 bytes event
size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
christos
4e8192be1a
sync with IANA
2007-06-23 18:15:28 +00:00
christos
016b142ce7
Remove duplicate entries and document the procedure how to regenerate this
...
file.
2007-06-23 17:04:05 +00:00
simonb
d1187d4dcb
Use "default" for the getty type for the console and the serial
...
ports, like other evb* ports.
2007-06-22 03:47:42 +00:00
kiyohara
bbec0bb7bf
Added OpenBSD's zyd(4) driver.
...
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
martti
d405da7f9d
Use "mktemp -d -t xxx" to create the temporary directories. This will use
...
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
2007-06-06 13:30:47 +00:00
agc
45743840cb
Add /usr/pkg/{,s}bin to the default path for the default class for login.conf.
2007-06-01 19:01:51 +00:00
tsutsui
1f40a9d3d4
Remove more dup entries uniq(1) can't detect.
2007-05-24 15:55:50 +00:00
christos
e3d9822168
PR/36384: Patrick Welche: triplicate udp entries in /etc/services
...
ran it through uniq
2007-05-24 15:01:47 +00:00
hubertf
ae218465f7
Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
...
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
martti
94f749229e
Create /dev/bio
2007-05-16 13:06:03 +00:00