Browse Source

- mdev: fix mmcblk mount script

master
vanhofen 4 years ago
parent
commit
60da1fdc81
  1. 2
      skel-root/hd5x/lib/mdev/fs/mdev-mmcblk
  2. 2
      skel-root/hd6x/lib/mdev/fs/mdev-mmcblk
  3. 2
      skel-root/vuduo/lib/mdev/fs/mdev-mmcblk
  4. 2
      skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

2
skel-root/hd5x/lib/mdev/fs/mdev-mmcblk

@ -41,6 +41,7 @@ for i in $BLOCKS; do
SUBDIRBOOT=1 SUBDIRBOOT=1
break break
fi fi
break
fi fi
fi fi
done done
@ -68,6 +69,7 @@ case "$ACTION" in
fi fi
if [ "$PARTNAME" == "swap" ]; then if [ "$PARTNAME" == "swap" ]; then
LOGINFO "[$ACTION] /dev/$MDEV is a swap partition"
mkswap /dev/$MDEV mkswap /dev/$MDEV
swapon /dev/$MDEV swapon /dev/$MDEV
exit 0 exit 0

2
skel-root/hd6x/lib/mdev/fs/mdev-mmcblk

@ -41,6 +41,7 @@ for i in $BLOCKS; do
SUBDIRBOOT=1 SUBDIRBOOT=1
break break
fi fi
break
fi fi
fi fi
done done
@ -68,6 +69,7 @@ case "$ACTION" in
fi fi
if [ "$PARTNAME" == "swap" ]; then if [ "$PARTNAME" == "swap" ]; then
LOGINFO "[$ACTION] /dev/$MDEV is a swap partition"
mkswap /dev/$MDEV mkswap /dev/$MDEV
swapon /dev/$MDEV swapon /dev/$MDEV
exit 0 exit 0

2
skel-root/vuduo/lib/mdev/fs/mdev-mmcblk

@ -41,6 +41,7 @@ for i in $BLOCKS; do
SUBDIRBOOT=1 SUBDIRBOOT=1
break break
fi fi
break
fi fi
fi fi
done done
@ -68,6 +69,7 @@ case "$ACTION" in
fi fi
if [ "$PARTNAME" == "swap" ]; then if [ "$PARTNAME" == "swap" ]; then
LOGINFO "[$ACTION] /dev/$MDEV is a swap partition"
mkswap /dev/$MDEV mkswap /dev/$MDEV
swapon /dev/$MDEV swapon /dev/$MDEV
exit 0 exit 0

2
skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

@ -43,6 +43,7 @@ for i in $BLOCKS; do
SUBDIRBOOT=1 SUBDIRBOOT=1
break break
fi fi
break
fi fi
fi fi
done done
@ -134,6 +135,7 @@ case "$ACTION" in
fi fi
if [ "$PARTNAME" == "swap" ]; then if [ "$PARTNAME" == "swap" ]; then
LOGINFO "[$ACTION] /dev/$MDEV is a swap partition"
mkswap /dev/$MDEV mkswap /dev/$MDEV
swapon /dev/$MDEV swapon /dev/$MDEV
exit 0 exit 0

Loading…
Cancel
Save