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