summaryrefslogtreecommitdiffstats
path: root/tmp/pre_upgrade_command
blob: 65c0c1dc32713b032f839dc71e429c89891febde (plain)
1
2
3
4
5
6
#!/bin/sh

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

OpenPOWER on IntegriCloud