You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
326 B
11 lines
326 B
#!/bin/bash
|
|
|
|
if mount | grep " /sysroot " | grep ro, &>/dev/null
|
|
then
|
|
mount -o rw,remount ${NEWROOT} &>/dev/null
|
|
/sbin/select-video.sh ${NEWROOT}/etc/modprobe.d/video-blacklist.conf $videodrv
|
|
mount -o ro,remount ${NEWROOT} &>/dev/null
|
|
else
|
|
/sbin/select-video.sh ${NEWROOT}/etc/modprobe.d/video-blacklist.conf $videodrv
|
|
fi
|