mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:47:14 +08:00
16 lines
373 B
Plaintext
16 lines
373 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
. /etc/rc.d/functions.d/fbsplash-extras.sh
|
||
|
|
||
|
i=1
|
||
|
|
||
|
splash_initscript_svcs_get /etc/rc.sysinit list |
|
||
|
while read service message; do
|
||
|
printf '%5s %-5s %-30s %s\n' $(( i++ )) start "$service" "$message"
|
||
|
done
|
||
|
|
||
|
splash_initscript_svcs_get /etc/rc.shutdown list |
|
||
|
while read service message; do
|
||
|
printf '%5s %-5s %-30s %s\n' $(( i++ )) stop "$service" "$message"
|
||
|
done
|