-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7186ac
commit a359f57
Showing
4 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ dist_HOOKS = \ | |
bcache \ | ||
disable-bcache \ | ||
btrfs \ | ||
fb-video \ | ||
zfs \ | ||
mkswap-zfs\ | ||
zram | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# $Header: mkinitramfs-ll/hooks/bacache Exp $ | ||
# $Author: (c) 2011-19 tokiclover <[email protected]> Exp $ | ||
# $License: 2-clause/new/simplified BSD Exp $ | ||
# | ||
|
||
[ -z "$video" ] && get_cmdline_option "video" | ||
|
||
video() { | ||
echo $$ >/run/${0##*/}.pid | ||
local _bin name=fbset | ||
$CHECK_ENV && debug -d check_bin fbset | ||
|
||
fbset -fb /dev/fb0 -g "$1" "$2" "$1" "$2" "$3" | ||
|
||
rm /run/${0##*/}.pid | ||
} | ||
|
||
if [ -n "$video" ]; then | ||
debug video $(echo "$video" | sed 's,[x-], ,g') | ||
fi | ||
|
||
# | ||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4: | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/sh | ||
# | ||
# $Header: mkinitramfs-ll/init Exp $ | ||
# $Author: (c) 2011-6 tokiclover <[email protected]> Exp $ | ||
# $License: 2-clause/new/simplified BSD Exp $ | ||
# $Version: 0.22.2 2016/06/06 12:33:03 Exp $ | ||
# $Header: mkinitramfs-ll/init Exp $ | ||
# $Author: (c) 2011-19 tokiclover <[email protected]> Exp $ | ||
# $License: 2-clause/new/simplified BSD Exp $ | ||
# $Version: 0.22.2 2019/01/12 12:33:03 Exp $ | ||
# | ||
# WARNING: USE AT YOUR OWN RISK! EVERYTHING IS GIVEN “AS IS”, SEE COPYING FILE | ||
# | ||
|
@@ -154,7 +154,7 @@ for arg in $CMDLINE; do | |
case "$arg" in | ||
([Rr][Ee][Ss][Cc][Uu][Ee]*|[Rr][Ss][Hh]*) rescue_shell=1;; | ||
(ro|rw) rootflags="${rootflags:+$rootflags,}$arg";; | ||
([Cbcdefhiklmnrsz]*=*) eval "$arg" ;; | ||
([Cbcdefhiklmnrsvz]*=*) eval "$arg" ;; | ||
esac | ||
done | ||
: ${rootfstype:=$rootfs} | ||
|
@@ -219,6 +219,9 @@ exec 0<$CONSOLE 1>$CONSOLE 2>&1 | |
eval_colors | ||
set >/environ | ||
|
||
if [ -n "$video" ]; then | ||
debug dohook "$libdir/fb-video" | ||
fi | ||
if [ -n "$splash" ]; then | ||
begin "Starting Splash" | ||
splashd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters