blob: 289985724d897776cb642206b1f812b6e733c4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 25 > /etc/conf.d/fbsplash.bootsteps
echo 20 > /etc/conf.d/fbsplash.shutdownsteps
fi
echo 20 > /etc/conf.d/fbsplash.shutdownsteps
}
post_upgrade() {
post_install
}
op=$1
shift
$op $*
#EOF
|