aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-12 19:56:59 +0800
committerAaron LI <aly@aaronly.me>2018-03-12 19:56:59 +0800
commitbd42a6602f80e7e0f1282f4a9ffbb4a9a4a3d4d2 (patch)
treecfd9dd598a8040487c3783036239c55b60fb10c3 /README
parentd804102cf785fc7b19a949a0dffbfba98ad9487f (diff)
downloaddfly-update-bd42a6602f80e7e0f1282f4a9ffbb4a9a4a3d4d2.tar.bz2
README: add the usage section
Diffstat (limited to 'README')
-rw-r--r--README26
1 files changed, 26 insertions, 0 deletions
diff --git a/README b/README
index fe01472..caede80 100644
--- a/README
+++ b/README
@@ -14,6 +14,32 @@ This tool is written by the author to help keep the DragonFly BSD system
on a low-end VPS up-to-date, without consuming too much resources to build
and update from source, which may be even impossible for a small VPS.
+Usage
+-----
+dfly# git clone https://github.com/liweitianux/dfly-update
+dfly# cd dfly-update
+
+* one step update:
+ dfly# ./dfly-update fly
+
+* step-by-step update:
+ 1. check local and remote status:
+ dfly# ./dfly-update status
+ 2. use the above printed remote filename and md5 to download it:
+ dfly# ./dfly-update <filename> <md5>
+ 3. mount the download image
+ dfly# ./dfly-update /var/tmp/dfly-update/<filename
+ 4. backup the current kernel and world
+ dfly# ./dfly-update backup
+ 5. install the new kernel, world, and config files
+ dfly# ./dfly-update upgrade
+ 6. remove obsolete files, umount, and remove downloaded image
+ dfly# ./dfly-update cleanup
+
+NOTE:
+after this, you still need to merge the listed config files with suffix
+".__new__", and also upgrade the packages.
+
Versions
--------
* 0.1.2 (2018-03-11) First usable version for broader testing