From 8f836b573e152c58be51117338ac415e6451b20e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 16 Sep 2009 17:04:42 +0200 Subject: [PATCH 1/1] Fix missing rw/ro mount parameter on ct'server update --- config/rootfiles/core/31/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rootfiles/core/31/update.sh b/config/rootfiles/core/31/update.sh index 1780a1325c..87cc519236 100644 --- a/config/rootfiles/core/31/update.sh +++ b/config/rootfiles/core/31/update.sh @@ -30,6 +30,9 @@ MOUNT=`grep "kernel" /boot/grub/grub.conf | tail -n 1` # Nur den letzten Parameter verwenden echo $MOUNT > /dev/null MOUNT=$_ +if [ ! $MOUNT == "rw" ]; then + MOUNT="ro" +fi # # check if we the backup file already exist if [ -e /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 ]; then -- 2.39.2