mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
f03fb285e6
commit
e883394a66
@ -1,9 +1,8 @@
|
|||||||
#! /bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export ctx_log=${ctx_log:=bin/boot.log}
|
export ctx_log=${ctx_log:=bin/boot.log}
|
||||||
export ctx_pid=${ctx_pid:=var/run/ice.pid}
|
export ctx_pid=${ctx_pid:=var/run/ice.pid}
|
||||||
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
trap HUP hup && while true; do
|
trap HUP hup && while true; do
|
||||||
date && bin/ice.bin $@ 2>$ctx_log && break || echo -e \"\n\nrestarting...\"
|
date && bin/ice.bin $@ 2>$ctx_log && break || echo -e \"\n\nrestarting...\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user