mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
odroid-u2-base: create runit runlevel dir to enable def services.
This commit is contained in:
parent
43677f2b2b
commit
08c40bf286
2 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,8 @@ post)
|
||||||
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
|
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
|
||||||
if [ -x /usr/bin/systemctl ]; then
|
if [ -x /usr/bin/systemctl ]; then
|
||||||
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
|
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||||
elif [ -d etc/runit/runsvdir/default ]; then
|
else
|
||||||
|
mkdir -p etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'odroid-u2-base'
|
# Template file for 'odroid-u2-base'
|
||||||
pkgname=odroid-u2-base
|
pkgname=odroid-u2-base
|
||||||
version=2.0
|
version=2.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux Odroid U2 platform package"
|
short_desc="Void Linux Odroid U2 platform package"
|
||||||
|
|
Loading…
Add table
Reference in a new issue