summaryrefslogtreecommitdiffstats
path: root/tmp/pre_upgrade_command
blob: c6bb66c1d50304fa03721288d183b7073599dacb (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

/etc/rc.conf_mount_rw

# Record the previous version
PRIOR_VERSION=`uname -r | cut -d'.' -f1`
echo $PRIOR_VERSION > /tmp/pre_upgrade_version

rm /boot/kernel/*

OpenPOWER on IntegriCloud