diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-08-26 23:26:54 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-08-26 23:26:54 +0200 |
commit | 58fc27aaeb6d7d67cdf93997a33e0cbe4b5d7ada (patch) | |
tree | 05e9c2df6176d3f679739b7a25d047478ee6de32 /rc.multi | |
parent | cfabb85924f35c636550609b332d088aaae9941f (diff) | |
download | initscripts-58fc27aaeb6d7d67cdf93997a33e0cbe4b5d7ada.tar.xz |
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
Diffstat (limited to 'rc.multi')
-rwxr-xr-x | rc.multi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ . /etc/rc.conf . /etc/rc.d/functions -run_hook start rc.multi +run_hook multi_start # Load sysctl variables if sysctl.conf is present [ -r /etc/sysctl.conf ] && /sbin/sysctl -q -p &>/dev/null @@ -26,6 +26,6 @@ if [ -x /etc/rc.local ]; then /etc/rc.local fi -run_hook end rc.multi +run_hook multi_end # vim: set ts=2 noet: |