aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/files
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-15 22:36:35 +0300
committerCem Keylan <cem@ckyln.com>2020-01-15 22:36:35 +0300
commit051404c997c633388071203be5c24f28dfb9f14c (patch)
tree2b8e2a1cd5aeb0e94a784f34830c2e8f1540de1d /core/sinit/files
parent21fc7560eeaeb7ff0d25ef210570faf47c09357f (diff)
downloadrepository-051404c997c633388071203be5c24f28dfb9f14c.tar.gz
sinit: removed ubase dependency, build respawn and halt onto sinit
Diffstat (limited to 'core/sinit/files')
-rw-r--r--core/sinit/files/sinit-launch-services.boot4
-rw-r--r--core/sinit/files/sinit.post.shutdown4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/sinit/files/sinit-launch-services.boot b/core/sinit/files/sinit-launch-services.boot
index 4d4fad6a..4cbb0570 100644
--- a/core/sinit/files/sinit-launch-services.boot
+++ b/core/sinit/files/sinit-launch-services.boot
@@ -2,12 +2,12 @@
sinit_run_getty() {
for getty in 1 2 3 4 5 6; do
- ubase-box respawn /sbin/getty 38400 tty${getty} 2>&1 &
+ respawn /sbin/getty 38400 tty${getty} 2>&1 &
done
}
sinit_runit() {
- ubase-box respawn /usr/bin/runsvdir -P /var/service &
+ respawn /usr/bin/runsvdir -P /var/service &
}
[ "$SINIT_ENABLE_GETTY" = 1 ] && sinit_run_getty
diff --git a/core/sinit/files/sinit.post.shutdown b/core/sinit/files/sinit.post.shutdown
index ade9958f..4f3c793b 100644
--- a/core/sinit/files/sinit.post.shutdown
+++ b/core/sinit/files/sinit.post.shutdown
@@ -6,11 +6,11 @@ if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
case "$1" in
reboot)
out "Requesting system reboot..."
- /usr/bin/ubase-box halt -r
+ halt -r
;;
*)
out "Requesting system poweroff..."
- /usr/bin/ubase-box halt -p
+ halt -p
;;
esac
fi