mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
16 lines
304 B
Bash
Executable File
16 lines
304 B
Bash
Executable File
#!/bin/sh -l
|
|
|
|
clear
|
|
|
|
# starting init scripts for wanted runlevel
|
|
progress "Starting Init Scripts"
|
|
RET=0
|
|
|
|
for script in /etc/init.d/*; do
|
|
if grep -q -e "^# runlevels:.*$RUNLEVEL" $script; then
|
|
. $script
|
|
S_RET=$?
|
|
test $S_RET -ge $RET && RET=$S_RET
|
|
fi
|
|
done
|