1. Eugene Yunak
  2. initscripts-fork

Commits

Show all
Author Commit Message Date Builds
Tom Gundersen
hooks: move shutdown_poweroff before remounting / ro This will make sure the same hook is run regardless of whether you pivot to the shutdown ramfs or not. This is in order to run apcupsd --killpower as pointed out by Gerardo. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tags
2011.09.2
Tom Gundersen
rc.conf: disable hwclock and netfs by default These are only useful to a minority of users. Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
respect the user's choice for /etc/localtime This can be a symlink or a regular file, and rc.sysinit will preserve it as such. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Tom Gundersen
bootlog: clean some more ANSI codes I was getting "^[71G", this fixed it. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tags
2011.09.1
Tom Gundersen
kill: give proper error messages and increase timeout With the new logic we will only wait for the timeout in case of problems, we therefore increase the timeout as this will make problems more obvious. There has been reports of problems with processes not being terminated, but hopefully this should help us reproduce them. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
shutdown: move disabling of monitoring/swap We do this before killing all processes. There is no reason to do it later, and this might give some processes a bit more time to terminate properly. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
timezone: use function in shutdown like in sysinit This uses the function introduced in 9b77b7d7b535c3c52c99a95374e1f800466c6414. Signed-off-by: Tom Gundersen <teg@jklm.no>
Gerardo Exequiel Pozzi
[initscripts] Remove too early /dev/null redirection Since recent change in udev package [#1] (install: remove post-install) In case of booting without initramfs and there is no /dev/null: * if / is ro, devtmpfs mount will fail, in consecuence /dev will be mounted as tmpfs. * if / is rw, devtmpfs mount will success, but a regular file /dev/null in / will be created. [#1] http://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ud…
Gerardo Exequiel Pozzi
[initscript] Make locale.sh consistent with default rc.conf rc.conf defaults LOCALE to en_US.UTF-8 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Dave Reisner
timezone: create /etc/localtime as a symlink Abstract out timezone setting into its own function, passing Country/Area as a parameter. Do some menial checking to make sure: - the zonefile actually exists, erroring when it doesn't - /etc/localtime is a symlink to the correct zoneinfo file, relinking when it isn't. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Dave Reisner
functions: clarify source of module loading This isn't _all_ your modules. Just the extras specified from rc.conf. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Sébastien Luttringer
Load sysctl config files from sysctl.d This patch implement loading of sysctl config files as described in http://0pointer.de/public/systemd-man/sysctl.d.html This is a very conveniant way of configuring sysctl option for sysadmin which can drop sysctl config files inside this directory to enable some feature. Dropping a file like disableipv6.conf inside this directory will disable ipv6 $ cat disableipv6.conf net.ipv6.conf.all.disabl…
Sébastien Luttringer
rc.d: handle a set of options rc.d can now take --started, --stopped, --auto, --noauto as option which help user to filter list of daemon for all actions As a corollary list command can now take a list of dameon to display All kind of arguments can be mixed to obtain the proper output. zsh and bash completion are updated Note: Output of help command exit 0 and is no more printed on stderr Signed-off-by: Sebastien Luttringe…
Sébastien Luttringer
New smarter display of bad daemon names in rc.d Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Sébastien Luttringer
Remove double case in hwclock daemon Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Sébastien Luttringer
Let background daemons show errors on stderr Daemon running in background should let error output to be printed. Standart output is still hided to have a correct printing in default cases. This will help to detect error in daemon runned in background. This will also remove have_daemon call which is already called in start_daemon. Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Tom Gundersen
shutdown: rely on init being installed by the initrd init is now included in mkinitcpio's busybox, so we don't need to copy it. This might break compat with dracut, but it can be worked around very simply in case anyone wants to use dracut with Arch, so we don't care. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
sutdown: support both poweroff and reboot Tell the /run/initramfs/shutdown what action to preform. Still no kexec support though. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
Clean up more ANSI codes from /var/log/boot (close FS#25682) Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
boot.log: clean ANSI codes Suggested-by: Karol B?a?ewicz <karol.blazewicz@gmail.com> Suggested-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
rc.d: clarify error when [[ -x /etc/rc.d/$i ]] fails A script marked a-x will be reported as missing, when in fact it's only non-executable. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Dave Reisner
network: error out on missing or unknown interface This was caused by commit fc9ce46483fc4d -- if the user has no interface defined but also has no legacy variables defined, our legacy check fails, and we try to bring up the network using an empty declaration. Add in an additional safeguard of checking sysfs to see that the interface really does exist. Fixes FS#25671 Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Tom Gundersen
locale.sh: added missing file to git Reported-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
functions: fix typo in warning message Fixes #25623. Reported-by: Segej Puykin <arch@sergej.pp.ru> Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
locale: make /etc/profile.d/locale.sh dynamic locale.sh parses rc.conf at runtime and sets the LOCALE accordingly, rather than writing a static file at every boot. This eliminates yet another write to /etc. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
/usr: clarify warning a bit We still support a separate /usr if it was somehow mounted by the initrd. Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
/usr: move all executables from /sbin to /usr/sbin At worst this will give an error message if /usr is not mounted, which is fine as we are warning against this anyway. It will not break boot. Signed-off-by: Tom Gundersen <teg@jklm.no>
Dave Reisner
arch-tmpfiles: avoid subshell in creating empty files install /dev/null as the new file instead of creating an empty file via a no-op process substitution. Signed-off-by: Dave Reisner <dreisner@archlinux.org> [tomegun: the commit also adds a similar fix to rc.shutdown] Signed-off-by: Tom Gundersen <teg@jklm.no>
Tom Gundersen
Merge branch 'pivot-shutdown'
Tom Gundersen
/usr: warn on separate usr We check for /usr/lib being present. If it is not, we assume /usr is not yet mounted and warn. Signed-off-by: Tom Gundersen <teg@jklm.no>
  1. Prev
  2. Next