summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/initscripts.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-05 18:18:39 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-05 18:18:39 (GMT)
commitde6718e325ed5fdcb2b15cb567732321ecb14790 (patch)
tree38be8b17b5a48debab24d58543312e29679e4ab0 /abs/core/initscripts/initscripts.install
parentfc539f5d4dfd5c641545ba0442431219f63bcbe3 (diff)
downloadlinhes_pkgbuild-de6718e325ed5fdcb2b15cb567732321ecb14790.zip
linhes_pkgbuild-de6718e325ed5fdcb2b15cb567732321ecb14790.tar.gz
linhes_pkgbuild-de6718e325ed5fdcb2b15cb567732321ecb14790.tar.bz2
initscripts: update to 2014.03.1
Diffstat (limited to 'abs/core/initscripts/initscripts.install')
-rw-r--r--abs/core/initscripts/initscripts.install29
1 files changed, 25 insertions, 4 deletions
diff --git a/abs/core/initscripts/initscripts.install b/abs/core/initscripts/initscripts.install
index 03519cb..2e7b24f 100644
--- a/abs/core/initscripts/initscripts.install
+++ b/abs/core/initscripts/initscripts.install
@@ -1,3 +1,11 @@
+show_link() {
+ echo "----"
+ echo "> You can find all missed scripts and config files on https://bitbucket.org/TZ86/arch-rcscripts"
+ echo "----"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
post_upgrade() {
if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
echo "Blacklisting of modules is no longer supported in rc.conf,"
@@ -18,9 +26,22 @@ post_upgrade() {
echo "> shutdown, respectively. Refer to arch-modules-load(8) and arch-daemons(8)."
echo "----"
fi
- if [ "$(vercmp $2 2012.10.1)" -lt 0 ]; then
- echo "----"
- echo "> systemd no longer reads MODULES from rc.conf."
- echo "----"
+ if [ "$(vercmp $2 2013.10.1)" -lt 0 ]; then
+ show_link
fi
}
+
+post_install() {
+ echo "----"
+ echo "> All localization parameters, network and kernel modules settings has been"
+ echo "> moved to rc.conf. Systemd configs (such as vconsole.conf) is still supports"
+ echo "> but is not recommended."
+ echo
+ echo "> Please note that now rc.conf overrides systemd configs. If you want keep"
+ echo "> using systemd configs, just leave the corresponding parameter in rc.conf"
+ echo "> commented out."
+ echo "----"
+
+ show_link
+}
+