aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
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-11Remove the 'makedevs' scriptRoman Kyrylych2
* last touched somewhere in 2005 * not used by anything * sits in /sbin but uses software from /usr/bin * makedev in Extra exists * if one wants a static /dev - just use mknod Signed-off-by: Roman Kyrylych <roman@archlinux.org>
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 Kyrylych3
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Add basic support for dependencies in rc.d scriptsRoman Kyrylych1
Example of use: DEPENDS=('dbus' 'acpid') . . . ck_depends ${DEPENDS[@]} and those daemons will be started if not running already Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Use full path to binaries everywhereRoman Kyrylych4
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-08Fix indentation in rc.d/functionsRoman 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-21Remove trailing whitespaces and do some little reformattingRoman Kyrylych1
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-14rc.shutdown: Fix hwclock double callsDan McGee1
Commit 9673449ac0af77751eab62423114f27e7dbc497c added --directisa configuration to rc.shutdown, but didn't remove the old hwclock calls and instead just added a second call. Remove the original calls. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Merge branch 'posix' into workingDan McGee5
2008-02-14functions:source_functions(): don't fail on empty dirDan McGee1
Instead of using globbing which will fail on an empty directory, use an ls call similar to other places in the initscripts which is not prone to failure. (See rc.single in the daemon shutdown for example.) Signed-off-by: Dan McGee <dan@archlinux.org>
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-14Remove some bashisms from network, even though we cannot convert itDan McGee2
Since netfs and network source rc.conf, we cannot fully convert it to an sh script. However, we can get rid of a few things that are not sh compatible. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Make install.sh sh compatibleDan McGee1
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Make functions sh compatibleDan McGee1
There is no reason to use bashisms in functions, so eliminate any and use printf instead of echo options which are not guaranteed to be implemented in a POSIX sh. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Don't assume sh == bashDan McGee1
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-14Add support for (un)mounting nfs4Roman Kyrylych2
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-23Use --directisa configuration in rc.shutdown as wellRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08Enhance interface 'up' state checkingLoic Nageleisen1
Using the 'UP' state to imply operational status is wrong and even if a device is 'UP' we may still need to run ifconfig/dhcp Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08network script logic cleanups/enhancementsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08Remove the hotplug functionality from the network scriptAaron Griffin1
Hotplug hasn't been supported in Arch for ages 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-08minilogd cleanup and warning fixesJonathan Frazier1
gcc gives a warning about signed/unsigned ints, and it tries to write to syslog's /dev/log with a dgram socket which gives an EPROTOCOL error. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-01-08Allow --directisa configuration for hwclock callsAaron Griffin2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Deprecate MOD_BLACKLIST via some commentsAaron 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-20Tidy up rc.confJames Rayner1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Make the background black on all status textSimo Leone1
This is the easiest way to cleanup the script output on white terminals without resorting to shutting off color. It won't make everyone happy, though. Ref: FS#1186 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-17Modify comment above MOD_AUTOLOAD to indicate that it autoloadsAaron Griffin1
Some people thought the comment was unclear 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-13Fix FS#8843 (no colors in rc.sysinit output with separate /usr)Roman Kyrylych1
when tput returns exit code 3 - assume it output '8' (as written in the /usr/share/terminfo/l/linux file) Signed-off-by: Roman Kyrylych <roman@archlinux.org> Converted to if/elsif form 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-12-11Removing netcfg from initscriptsJames Rayner5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-11-28Source /etc/rc.d/functions.d/ for additional initscript functionsAaron Griffin5
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-22Add a few more comments and examples to inittab2007.11-2Dan McGee1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-21Fix broken terminal detection, disable colors when the terminal is unknown.Thomas Bächler1
2007-10-21make non-ASCII chars work before login too2007.11-1Roman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>