diff options
author | Erich Eckner <git@eckner.net> | 2019-08-18 20:30:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-18 20:30:51 +0200 |
commit | 1dc58c05bef6beb7dd99b57c865cbcb920064fe6 (patch) | |
tree | cdd9cbe838eafac94149da4f89e2b05096bbfa6a /update-me.in | |
parent | 13144e19206e3021892868fad88c20fc4d1943c8 (diff) | |
download | update-all-1dc58c05bef6beb7dd99b57c865cbcb920064fe6.tar.xz |
update-me: do not remount /boot on crux
Diffstat (limited to 'update-me.in')
-rw-r--r-- | update-me.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in index 0b4c48d..09025fc 100644 --- a/update-me.in +++ b/update-me.in @@ -8,7 +8,8 @@ if mountpoint -q /boot \ && mount \ | grep -wF '/boot' \ | cut -d' ' -f6 \ - | grep -qwF 'ro'; then + | grep -qwF 'ro' \ +&& [ ! -d '#ETCDIR#/ports' ]; then preCmds+=('mount -o remount,rw /boot') postCmds+=('mount -o remount,ro /boot') fi |