Commit 1536d8ab8df2d199da09deaa03b15addc074f7e9

Authored by Silvan Calarco
1 parent 9cf0a4c96c
Exists in master

mountfs: set read-write mode (--sysinit) for plymouth

rc: quit plymouth with --retain-splash in runlevel 5

Showing 2 changed files with 8 additions and 5 deletions Side-by-side Diff

etc/rc.d/init.d/mountfs
... ... @@ -31,7 +31,8 @@
31 31 rm -f /etc/mtab~ /etc/mtab~~
32 32  
33 33 [ ! -f /proc/bus/usb/devices ] && mount -t usbfs usbfs /proc/bus/usb
34   - #[ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev
  34 +
  35 + $PLYMOUTH --sysinit
35 36  
36 37 # The follow mount command will mount all file systems. If you
37 38 # have other (network based) file system that should not be or
... ... @@ -137,8 +137,10 @@
137 137 done
138 138 fi
139 139  
140   -[ "$runlevel" = "5" ] || chvt 1
141   -
142   -#$PLYMOUTH message --text=$"System up and running"
143   -$PLYMOUTH quit
  140 +if [ "$runlevel" = "5" ]; then
  141 + $PLYMOUTH quit --retain-splash
  142 +else
  143 + chvt 1
  144 + $PLYMOUTH quit
  145 +fi