ndhc: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:15:58 -03:00
parent 5d397d79fa
commit 53a6b4f8f7
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
case "$ACTION" in
post)
rm -f /var/lib/ndhc/jail/dev/null /var/lib/ndhc/jail/dev/random
mknod /var/lib/ndhc/jail/dev/null c 1 3
mknod /var/lib/ndhc/jail/dev/random c 1 9
rm -f var/lib/ndhc/jail/dev/null var/lib/ndhc/jail/dev/random
mknod var/lib/ndhc/jail/dev/null c 1 3
mknod var/lib/ndhc/jail/dev/random c 1 9
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'ndhc'
pkgname=ndhc
version=20180218
revision=1
revision=2
build_style=cmake
make_dirs="/var/lib/ndhc/state 0755 root root
/var/lib/ndhc/jail/dev 0755 root root"