blob: 015681cc4bfdb098a68e84154c7d2b5e64ea36bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
cat << EOF
/boot should be mounted on boot for proper operation, do not
use options such as noauto,x-systemd.automount in /etc/fstab
EOF
/usr/bin/ckboot-init
}
post_remove() {
/usr/bin/rm /tmp/ckboot /var/ckboot/{boothash,mbrhash} &> /dev/null
/usr/bin/rmdir /var/ckboot &> /dev/null
}
post_upgrade() {
if [[ -e /var/ckboot/filehash ]]
then
/usr/bin/mv /var/ckboot/filehash /var/ckboot/boothash
fi
}
|