diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
commit | 40727c47f4a6319dc101ca97cddd72732db03889 (patch) | |
tree | c469bd876c58981ef4abd517af7af7f6c8f8868a /abs/core-testing/fbsplash/fbsplash.install | |
parent | d39d6198243375c7cc8e72aa926d24fc6b625982 (diff) | |
download | linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.zip linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.gz linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.bz2 |
Initial inclusion of fbsplash and deps.
Diffstat (limited to 'abs/core-testing/fbsplash/fbsplash.install')
-rw-r--r-- | abs/core-testing/fbsplash/fbsplash.install | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/fbsplash/fbsplash.install b/abs/core-testing/fbsplash/fbsplash.install new file mode 100644 index 0000000..4ef95b6 --- /dev/null +++ b/abs/core-testing/fbsplash/fbsplash.install @@ -0,0 +1,33 @@ + +post_install() { + echo ">" + echo "> ATTENTION!!!:" + echo "----------------------------------------------" + echo "> fbsplash has been rewritten and no longer depends " + echo "> on using a special initscripts. " + echo "> Please read http://wiki.archlinux.org/fbsplash " + echo "> for more details on the changes. " + echo "----------------------------------------------" + if ! [ -e /etc/conf.d/fbsplash.bootsteps ]; then + echo "" + echo "Creating step count files..." + echo "Note: The first boot's percentage will be wrong. " + echo "The scripts will update with the right steps after first boot" + echo "" + touch /etc/conf.d/fbsplash.bootsteps + touch /etc/conf.d/fbsplash.shutdownsteps + echo 20 > /etc/conf.d/fbsplash.bootsteps + echo 10 > /etc/conf.d/fbsplash.shutdownsteps + fi + +} + +post_upgrade() { + post_install +} + +op=$1 +shift +$op $* + +#EOF |