aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-11 23:04:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-11 23:04:14 -0300
commit9e70a94c9b11ec159b50cfb4df4905a4312ae3c1 (patch)
tree87d091297bfc6d4374a175cd71c356293a45d042 /files
parent6397002d40b58b8635b8f84054ad0bc9f54ebd63 (diff)
downloadbootless-9e70a94c9b11ec159b50cfb4df4905a4312ae3c1.tar.gz
bootless-9e70a94c9b11ec159b50cfb4df4905a4312ae3c1.tar.bz2
Make 'write' action an alias to 'image'
Diffstat (limited to 'files')
-rwxr-xr-xfiles/bootless2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/bootless b/files/bootless
index be8fa2e..320b2f7 100755
--- a/files/bootless
+++ b/files/bootless
@@ -220,7 +220,7 @@ if [ -z "$BOOTLESS_DIR" ]; then
elif [ "$BOOTLESS_ACTION" == "init" ]; then
shift 2
bootless_init $*
-elif [ "$BOOTLESS_ACTION" == "image" ]; then
+elif [ "$BOOTLESS_ACTION" == "image" ] || [ "$BOOTLESS_ACTION" == "write" ]; then
shift 2
bootless_image $*
elif [ "$BOOTLESS_ACTION" == "check" ]; then