mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-18 12:52:42 +03:00
fix /etc/runlevel --> /etc/runlevels
This commit is contained in:
parent
96e36c251d
commit
475c3d4642
@ -52,10 +52,10 @@ while true; do
|
|||||||
log -s info " - tiny-cloud* services removed from all runlevels"
|
log -s info " - tiny-cloud* services removed from all runlevels"
|
||||||
rm -f "$ROOT"/etc/runlevels/*/tiny-cloud*
|
rm -f "$ROOT"/etc/runlevels/*/tiny-cloud*
|
||||||
log -s info " + tiny-cloud-boot service added to boot runlevel"
|
log -s info " + tiny-cloud-boot service added to boot runlevel"
|
||||||
ln -s /etc/init.d/tiny-cloud-boot "$ROOT"/etc/runlevel/boot
|
ln -s /etc/init.d/tiny-cloud-boot "$ROOT"/etc/runlevels/boot
|
||||||
for p in early main final; do
|
for p in early main final; do
|
||||||
log -s info " + tiny-cloud-$p service added to default runlevel"
|
log -s info " + tiny-cloud-$p service added to default runlevel"
|
||||||
ln -s "/etc/init.d/tiny-cloud-$p" "$ROOT"/etc/runlevel/default
|
ln -s "/etc/init.d/tiny-cloud-$p" "$ROOT"/etc/runlevels/default
|
||||||
done
|
done
|
||||||
exit 0;;
|
exit 0;;
|
||||||
--) shift; break;;
|
--) shift; break;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user