1. TZ86
  2. initscripts-fork

Commits

Show all
Author Commit Message Date Builds
Thomas Bächler
Remove redundant call to vgscan - this also fixes a "wrong" symlink in combination with the new udev-based device mapper node creation
Tags
2009.11-1
Thomas Bächler
Correct last commit: Unset the STARTUP=1 variable in udevadm control only after udev has settled
Thomas Bächler
Set STARTUP=1 environment variable on initial udev triggering, required by latest device-mapper rules
Thomas Bächler
Remove code to create md* devices manually, this is done by udev these days
Thomas Bächler
Disable special handling of ACPI modules
Thomas Bächler
Only load rtc-cmos if rc.conf has proper clock settings
Aaron Griffin
Replace 'truncate file' logic in case of noclobber We use ": > /foo" in a few cases to truncate a file. If noclobber happens to be set, this fails, so we'll use bash's >| operator instead to force it Suggested-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Empty mtab instead of deleting it This fixes an issue with mount.aufs which requires mtab to be present and apparently will not create it on its own See FS#16497 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Add hvc0 to inittab (commented by default) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
network: support early 'up' for dhcp interfaces Previous commit acac4f47597320f55995bdaf692d6f2335a1d67e attempted to parse the name of the interface from the config line, but neglected to check for "dhcp" config lines, in which case the interface is the name Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
Always shutdown daemons, regardless of runlevel Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Aaron Griffin
network: Use real interface name for ifconfig up Using the variable name doesn't work in cases like this: my_interface_foo="eth0 blah blah" INTERFACES=(my_interface_foo) It produces errors like so: my_interface_foo no such device Fixes FS#16114 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Jim Pryor
Fix stty/tput usage for columns again Cleans up double application of earlier fixes for this issue. Instead of calling $(tput cols 2>/dev/null), we now try tput cols silently to see whether it complains. If not, then we call $(tput cols) with no redirection of stderr. This way, we can get results other than 80. eliminate color when stdout is not terminal Signed-off-by: Jim Pryor <profjim@jimpryor.net> Signed-off-by: Aaron Griffin <…
Aaron Griffin
Replace \e with \033 for printfs \e isn't recongized in all shells. This causes issues with the locale.sh script. For completeness, \e is replaced throughout the rc.sysinit script Original-idea-by: David Khunne <stahlheinzkockhausen@googlemail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Thomas Bächler
Make the hook-system a bit more usable This patch makes the hook names unique, prefixing them all with the script name (without the 'rc.') It also removes the explicit declarations of all elements of the array, bash assumes "" if they are uninitialized
Thomas Bächler
Implement a hook-system that allows to add custom code to the initscripts at certain places A function add_hook can be called from functions.d to register a hook function. The existing hooks are based on suggestions from Michael Towers (larch) and on the implementation of initscripts-extras-fbsplash which currently uses the strings passed to stat_busy and stat_done for this. More hooks can be added if requested. The implementation uses associative arrays and will thus only work with bas…
Thomas Bächler
Remove support for static filesystem and make code in rc.single look like the code in rc.sysinit/rc.shutdown udev has been a dependency of initscripts for a long time, the system won't work without it anyway. Thus remove the "Using static filesystem" message which does nothing anyway and always try to start udevd At the same time, update the killall5 and udev start code in rc.single
Thomas Bächler
Remove uevent processing benchmark, as it is useless now that we actually do work between trigger and settle
Thomas Bächler
Use nosuid instead of noexec on /dev The last patch caused applications to break that mmap()ed devices with PROT_EXEC It's sad that we can't avoid putting binaries into /dev, but at least we can avoid setuid-binaries being there
Thomas Bächler
Add size and noexec mount options to /dev, change "none" to "udev"
Thomas Bächler
Fix in_array function In in_array a check might look like [ "!" = "@" ], which will fail because of the !, so make this check look like [ "x!" = "x@" ]. Also, when an entry is prefixed with !, it should be handled as if it was not in the array.
Tags
2009.08-1
Dan McGee
Splint recommended cleanups to minilogd Signed-off-by: Dan McGee <dan@archlinux.org>
Dan McGee
Add minilogd to gitignore Signed-off-by: Dan McGee <dan@archlinux.org>
Dan McGee
Don't background the udevadm trigger call This operation doesn't block for more than a half second, and backgrounding it invites race conditions if the settle operation ends up actually getting executed first. My slice won't even boot without this change. Signed-off-by: Dan McGee <dan@archlinux.org>
Dan McGee
Allow skipping of all hardware clock adjustments For virtualized machines, the hardware clock doesn't actually exist, so all hwclock calls fail and print error messages during system startup, shutdown, and the hourly adjtime cronjob. By explicitly looking for HARDWARECLOCK to be set to 'UTC' or 'localtime', all other values will result in hwclock calls being skipped (e.g. set the variable to 'none'). Signed-off-by: Dan McGee <dan@archlinux.org>
Dan McGee
Remove USEDIRECTISA and associated code man hwclock implies this option is rarely necessary, and (almost) all systems Arch supports surely have a /dev/rtc device and load the rtc driver in the kernel. Even if this is not available, hwclock will fall back to direct I/O requests anyway. As a side note, the adjtime cronjob didn't even respect this setting anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
James Rayner
network: bring interfaces up right away in ifup Allow association to begin, for wireless interfaces Ref: FS#13299 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Gerardo Exequiel Pozzi
Mount /dev as tmpfs instead of ramfs for new udev-145 * ramfs not support POSIX ACL that is necessary for using with the current udev-145 and make the rule 70-acl.rules usable, when ConsoleKit is available. * tmpfs support POSIX ACL Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Roman Kyrylych
Merge branch 'master' of ssh://archlinux.org/srv/projects/git/initscripts
Allan McRae
Consistent capitalization of locale Make the capitalization "UTF-8" part of the locale field in rc.conf match that used in /etc/locale.gen (FS#15825) Signed-off-by: Allan McRae <allan@archlinux.org>
  1. Prev
  2. Next