diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-07 02:11:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-07 02:11:27 +0000 |
commit | 7a4e37e10c1af790fedc24e5b994e52030a6afd8 (patch) | |
tree | 09f4557f73d7393c8fe09eb6a639b9db1b3df1d4 | |
parent | 4a8e802d8497a4cb6847bb3ebeee78d527008722 (diff) | |
download | pfsense-7a4e37e10c1af790fedc24e5b994e52030a6afd8.zip pfsense-7a4e37e10c1af790fedc24e5b994e52030a6afd8.tar.gz |
Record prior version
-rw-r--r-- | tmp/pre_upgrade_command | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 829303e..65c0c1d 100644 --- a/tmp/pre_upgrade_command +++ b/tmp/pre_upgrade_command @@ -1,3 +1,6 @@ #!/bin/sh +# Record the previous version +PRIOR_VERSION=`uname -r | cut -d'.' -f1` +echo $PRIOR_VERSION > /tmp/pre_upgrade_version |