aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
AgeCommit message (Collapse)AuthorFiles
2008-08-05Set kbd_mode on all virtual consoles2008.08-1Aaron Griffin1
Previous behavior only set the mode for vc0. See FS#11093 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-30Decouple ISO release name from initscriptsAaron Griffin1
This should aleviate some gripes Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Remove source_functions in favor of always sourcing the dirAaron Griffin1
This is an obvious oversight on my part - this change allows the overridden functions to work in daemon scripts and anything else that uses /etc/rc.d/functions by itself. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Fix commit 521d7678cecb3018923f7c869bc8a5f74dc29268, this makes more sense2008.05-1Thomas Bächler1
2008-04-13Always quote $TIMEZONE to fix FS#10178Thomas Bächler1
2008-04-12fixing udev hotplugging Some devices like scanners do not work with recent ↵Pierre Schmitz1
udev/initscript changes. This patch seems to fix such issues.
2008-04-08Just some whitespace fixesThomas Bächler1
2008-04-07Remove setterm screen blanking from rc.sysinitThomas Bächler1
Contrary to what one may think, screen blanking not only affects the console, but also the X server. This line may lead to unwanted blank screens although one has DPMS disabled in X. Furthermore, it adds a hardcoded, non-configurable default setting to Arch. This should either be made configurable (but IMO, we don't need more stuff in rc.conf) or added to rc.local by the user if needed. As this is a one-liner, the second solution sounds good to me.
2008-04-06Remove extra newline from udev status outputThomas Bächler1
2008-04-06Remove old initrd hacksThomas Bächler1
We haven't been using initrd for a while, so these hacks are unnecessary. The "encrypted root device hack" was obsoleted by proper udev rules long ago. The code to umount and free the initrd is not critical, so if somebody insists on using initrd, it can be done in rc.local.
2008-04-06Make USEDIRECTISA default to no, which is a sane default according to ↵Thomas Bächler1
hwlock's manpage. This is contrary to the behaviour in older initscripts.
2008-04-06Move /sys mounting to the beginning, together with /proc and /dev and clean ↵Thomas Bächler1
up some comments
2008-04-06Remove any special handling of usbfs from rc.sysinitThomas Bächler1
libusb has migrated to /dev/bus/usb, which is managed by udev and thus more flexible. Some legacy applications (like VirtualBox) still use it. However, since users need special permissions to access usbfs, they have to be specified via mount options in fstab. So there are two cases: 1) a user does not need usbfs 2) a user needs it, but must add it to fstab to force the right permissions Our old special handling in rc.sysinit is thus obsolete (and it was ugly anyway).
2008-03-19Use actual device number for creating /dev/misc/rtc02008.03-4Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-18Do not try to create /dev/pts and /dev/shm twice2008.03-3Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-18Fix a directory typo2008.03-2Aaron Griffin1
Looks like a 'bin/' slipped in there somewhere. Whoops Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-03-17Variable expansion quoting2008.03-1Aaron Griffin1
This was missed, and caused some gross output if a user mistakenly had a space in their timezone (we should fail gracefully here, not let bash error). Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-03-10Fix a typo in /dev/rtc creation stepsRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-09More full-path fixesRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Use full path to binaries everywhereRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Create /dev/rtc before running hwclock (FS#9636)Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-07Additional /dev/ setup that udev doesn't doAaron Griffin1
These nodes are not covered by default udev, so lets make sure they're added properly. Ref: FS#9726 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-03-07Add my name to the copyright outputAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-03-06Revert back to not loading defkeymapRoman Kyrylych1
* There is a patch for the kernel now, so no need to workaround the bug * Add a missing check for an empty KEYMAP Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-02Always load defkeymapRoman Kyrylych1
It seems that there's a bug in the kernel 2.6.24, which makes the built-in defkeymap to produce incorrect composite chars. Thus keymaps that don't have 'include "compose.latin1"' have issues (FS#9593). While it is better to fix this bug in kernel and all affected keymaps loading defkeymaps before other keymaps seems to not hurt anyway. Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-01Set up vc/0 as wellRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-01Do not mount /proc/bus/usb if commented in fstabRoman Kyrylych1
Fixes FS#9451 Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-02-29Make non-UTF-8 consoles work correctly in .24+ kernelsRoman Kyrylych1
* Since 2.6.24 the virtual terminal is in UTF-8 mode and the keyboard is in Unicode mode by default, and configurable only at run-time. * To make non-UTF-8 consoles work correctly: - the non-UTF-8 mode is set for the virtual terminal, - the XLATE mode is set for the keyboard. * UTF-8 mode is still set explicitly (not relying on default), so console works correctly even in a case when user set vt.default_utf8=0 in kernel commandline, but LOCALE in rc.conf is *.UTF-8. * % is a special symbol for printf, so it should be written twice. Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-02-21Add some udev stats output2008.02-1Aaron Griffin1
So we can see timing and all that jazz Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-02-14Remove echo -e usage from rc.sysinitDan McGee1
Use the always available (in sh) printf method instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Add support for (un)mounting nfs4Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08Create some basic device nodes on initializationAaron Griffin1
We need, at the very least, these three device nodes (null, console, and zero) created before we get udev up and running Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08Allow --directisa configuration for hwclock callsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Mount our ram /dev as soon as possibleAaron Griffin1
On readonly root systems, lots of fdup calls fail on device nodes, for instance in minilogd. So we'll mount /dev as early as we can Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Set hwclock *before* udev is loadedAaron Griffin1
This prevents /dev/ timestamps from being 'in the future' when the hwclock is not in UTC. Closes FS#8665 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-17Save dmesg output at the end of the boot processAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-12Move start_udev actions to rc.sysinitDan McGee1
start_udev has been deprecated upstream for some time. We shouldn't use some hacked up version of it either. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-11-28Source /etc/rc.d/functions.d/ for additional initscript functionsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-11-09Improve error handling and allow multiple keymaps to be loadedRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2007-10-21make non-ASCII chars work before login too2007.11-1Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2007-10-21yes, I fixed a trailing whitespaceThomas Bächler1
2007-10-21Fix locale handlingRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2007-10-21fix the utf8 activating code: there are 63 virtual terminals, not 12Thomas Bächler1
2007-10-21Release name: "Don't Panic" -> "Core Dump"Thomas Bächler1
2007-10-19added (barely tested) improvement of ASK keyword in crypttabThomas Bächler1
2007-10-19'upgpkg: removed double entry of ifconfig lo'Tobias Powalowski1
2007-10-19'upgpkg: added /sys/class/net/lo check'Tobias Powalowski1
2007-10-18'upgpkg: added loopbackhardcoded to rc.sysinit and remove it from rc.conf'Tobias Powalowski1
2007-10-18'upgpkg: trying to fix #6237,7554,7165,7641,5740'Tobias Powalowski1
2007-08-15upgpkg: initscripts 2007.08-2Dan McGee1