aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/radvd/radvd.SlackBuild2
-rw-r--r--network/radvd/rc.radvd.new2
2 files changed, 3 insertions, 1 deletions
diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild
index 40d66dc47dde..460d51c9c608 100644
--- a/network/radvd/radvd.SlackBuild
+++ b/network/radvd/radvd.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=radvd
VERSION=1.9.3
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
diff --git a/network/radvd/rc.radvd.new b/network/radvd/rc.radvd.new
index 9fbc59789331..a68c057eabdc 100644
--- a/network/radvd/rc.radvd.new
+++ b/network/radvd/rc.radvd.new
@@ -13,6 +13,8 @@ radvd_start() {
if [ -x /usr/sbin/radvd ]; then
echo "Starting radvd..."
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
+ mkdir -p /var/run/radvd
+ chown daemon:daemon /var/run/radvd
/usr/sbin/radvd -u daemon
fi
}