runit-void: only create the current runlevel symlink if it does not exist.
This commit is contained in:
parent
255307f962
commit
74c1c3418f
|
@ -8,7 +8,9 @@ post)
|
|||
ln -sf /etc/sv/sulogin etc/runit/runsvdir/single
|
||||
|
||||
mkdir -p etc/runit/runsvdir/default
|
||||
ln -sf default etc/runit/runsvdir/current
|
||||
if [ ! -e etc/runit/runsvdir/current ]; then
|
||||
ln -sf default etc/runit/runsvdir/current
|
||||
fi
|
||||
for f in 1 2 3 4 5 6; do
|
||||
[ -e /etc/sv/agetty-tty${f}/down ] || ln -sf /etc/sv/agetty-tty$f etc/runit/runsvdir/default
|
||||
done
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'runit-void'
|
||||
pkgname=runit-void
|
||||
version=20150407
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="void-runit-${version}"
|
||||
build_pie=yes
|
||||
build_style=gnu-makefile
|
||||
|
|
Loading…
Reference in New Issue