diff options
author | pico.dev <pico.dev@gmail.com> | 2020-09-03 15:55:59 +0200 |
---|---|---|
committer | pico.dev <pico.dev@gmail.com> | 2020-09-03 15:55:59 +0200 |
commit | 877881a35cf90d8e5c3712ffd80e94e2f3a497cb (patch) | |
tree | 27569a9ae1ee70acd50a9fe363cb8eb43f8d60cd | |
parent | 67aec71b2c1bb59db0519b1265613d1f732eeb66 (diff) |
Minor fixes
-rwxr-xr-x | alis.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -654,7 +654,9 @@ function mkinitcpio_configuration() { if [ "$FRAMEBUFFER_COMPRESSION" == "true" ]; then OPTIONS="$OPTIONS enable_fbc=1" fi - echo "options i915 $OPTIONS" > /mnt/etc/modprobe.d/i915.conf + if [ -n "$OPTIONS"]; then + echo "options i915 $OPTIONS" > /mnt/etc/modprobe.d/i915.conf + fi fi if [ "$LVM" == "true" ]; then |