chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

plymouth-quit (474B)


      1 #!/bin/sh
      2 # the splash goes before the sign-in screen starts, and all the way: plymouth leaves the console in graphics mode
      3 # with --retain-splash, and the kernel then ignores every switch away from it, so X waited forever for its own VT and
      4 # the screen stayed black. plymouth quit returns before plymouthd has gone, so wait for that too, 5 seconds at most
      5 plymouth quit
      6 i=0
      7 while plymouth --ping 2>/dev/null && [ $i -lt 50 ]; do
      8     sleep 0.1
      9     i=$((i + 1))
     10 done
     11 exit 0