Add support for /etc/kernel/cmdline_fb
This commit is contained in:
		
							parent
							
								
									1cbb1a5bd9
								
							
						
					
					
						commit
						149a83aa97
					
				|  | @ -65,7 +65,9 @@ fi | |||
| SORT_KEY="$IMAGE_ID" | ||||
| [ -z "$SORT_KEY" ] && SORT_KEY="$ID-$KERNEL_VERSION-fallback" | ||||
| 
 | ||||
| if [ -r /etc/kernel/cmdline ]; then | ||||
| if [ -r /etc/kernel/cmdline_fb ]; then | ||||
|     BOOT_OPTIONS="$(tr -s "$IFS" ' ' </etc/kernel/cmdline_fb)" | ||||
| elif [ -r /etc/kernel/cmdline ]; then | ||||
|     BOOT_OPTIONS="$(tr -s "$IFS" ' ' </etc/kernel/cmdline)" | ||||
| elif [ -r /usr/lib/kernel/cmdline ]; then | ||||
|     BOOT_OPTIONS="$(tr -s "$IFS" ' ' </usr/lib/kernel/cmdline)" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue