mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2024-06-02 19:48:01 -04:00
splashscreen - remove insserv dependency and legacy init.d script
This commit is contained in:
parent
2824bddb87
commit
0c9e4d132f
|
@ -32,8 +32,7 @@ function _video_exts_splashscreen() {
|
|||
}
|
||||
|
||||
function depends_splashscreen() {
|
||||
local params=(insserv vlc)
|
||||
getDepends "${params[@]}"
|
||||
getDepends vlc
|
||||
}
|
||||
|
||||
function install_bin_splashscreen() {
|
||||
|
@ -105,9 +104,6 @@ function disable_splashscreen() {
|
|||
function configure_splashscreen() {
|
||||
[[ "$md_mode" == "remove" ]] && return
|
||||
|
||||
# remove legacy service
|
||||
[[ -f "/etc/init.d/asplashscreen" ]] && insserv -r asplashscreen && rm -f /etc/init.d/asplashscreen
|
||||
|
||||
disable_plymouth_splashscreen
|
||||
enable_splashscreen
|
||||
[[ ! -f /etc/splashscreen.list ]] && default_splashscreen
|
||||
|
|
Loading…
Reference in a new issue