Commits

Show all
Author Commit Message Labels Comments Date
Gerardo Exequiel Pozzi
Fix rtc device to match current rule in udev-141-4. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Tags
2009.07-3
Allan McRae
Fix incomplete elif statement Commit 92cbc62e introduced an incomplete elif statement which caues shutdown to fail. Signed-off-by: Allan McRae <allan@archlinux.org>
Tags
2009.07-2
Gerardo Exequiel Pozzi
Convert to new initscript to new virtual console scheme Just convert vc/N to ttyN in all required places. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Tags
2009.07-1
Aaron Griffin
rc.conf: Switch to dhcp by default More of a sane default. Static config left as example Ref: FS#12670 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerhard Brauer
Don't change hardwareclock if settings unclear Don't default to 'localtime' if HARDWARECLOCK is not set to UTC. Check explicit values Ref: FS#15263 Edited-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Kurt J. Bosch
Trigger uevents earlier Backgrounding the udev uevent triggering right after the launch of the udev daemon allows us to do more in parallel before we wait for uevents to complete (udevadm settle). This should speed up boot Ref: FS#12706 Idea-from: Vahid Hamidullah <vh22@njit.edu> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
Fix warning when compiling without -ansi flag Add a #define without checking if already defined (introduced in a2db62cbc2f326c30bfd39be31fe71472b8e47e1 ) Signed-off-by: Gerardo Exequiel Pozzi <djgera@exequiel.ban2.ar> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
Fix minilogd.c eat memory on buflines>=MAX_BUF_LINES Do not allocate more memory and leak when buflines>=MAX_BUF_LINES Signed-off-by: Gerardo Exequiel Pozzi <djgera@exequiel.ban2.ar> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Thomas Bächler
network: Remove the hotplug_ifup command, the function has been removed a long time ago
Thomas Bächler
Fix array count/walk in rc.shutdown and rc.single, see #13263
Thomas Bächler
We always mount /sys, thus remove a superfluous check for /sys/block. Also fixes #14437
Thomas Bächler
Make the daemon shutdown in rc.single consistent with rc.shutdown, see #12978
Hugo Doria
Remove a useless check of dmesg.log file Signed-off-by: Hugo Doria <hugo@archlinux.org>
Aaron Griffin
Make sure functions ends cleanly When errexit was set, sourcing functions caused a script to exit. Fix this by using a real 'if' instead of the [ a ] && b syntax. Also, fix the vim modeline :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Thomas Bächler
Create /var/lib/misc if it doesn't exist This is necessary because the filesystem package doesn't currently contain this directory
Tags
2009.03-2
Aaron Griffin
Add the adjtime cron job to install.sh Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
minilogd: ensure we free() the buffer This isn't strictly needed, as memory is cleaned up on exit anyway, but let's shoot for good form :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Add adjtime handling to hwclock init The hwclock man page recommends calling hwclock with --adjust at start time, and periodically during system run. So let's do that here. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
minilogd: Initialize values for accept() From the accept(2) manpage: The addrlen argument is a value-result argument: the caller must initialize it to contain the size (in bytes) of the structure pointed to by addr; on return it will contain the actual size of the peer address. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Allan McRae
Fix status display functions The status display functions were returning the opposite of what they should have been. Also made cosmetic changes to the output. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
Fix minilogd headers Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Thomas Bächler
Use the device nodes from /lib/udev/devices/* instead of hardcoding them in initscripts. This requires a new udev package (at least 139-1)
Tags
2009.03-1
Aaron Griffin
Remove the kernel 'quiet' handling for fsck This is simply confusing that we use the kernel "quiet" parameter to mute fsck output. Removed for now - perhaps we can add a better solution later. Ref: FS#12928 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Thomas Bächler
Fix bug #13205: better random-seed entropy - For the random-seed file location to be more "FHS compliant" is better to put in /var/lib/misc/random-seed (Variable state information, that persists after reboot) than the /var/run/random-seed (Run-time variable data, that not necessarily persists after reboot) for example with /var/run mounted as TMPFS. - The random-seed file permision should be "0600" not "0644" - The size of random-seed …
Petar Bogdanovic
Allow the user to cancel an fsck Don't fail and force a reboot if the user cancels an fsck on boot. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Adjust copyright year to 2009 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Tags
2009.01
Aaron Griffin
Add some simple status display functions This is useful for displaying daemon status in functions like /etc/rc.d/$DAEMON status Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Adjust minilogd's maximums A max of 200000 lines stored, at 8K per line, was a little ridiculous and soaked up way to much memory if a syslogger was not started. Drop the max to 10000 so that we don't kill the user's system. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
chmod /var/run/utmp to 664 when creating This allows X terminals to write to /var/run/utmp so that they are reported properly to commands like who and w Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
unset the TZ envvar in 'functions' This prevents a local TZ variable from breaking daemon's when started by root. Daemon's should always respect the system's /etc/localtime Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
  1. Prev
  2. Next