aboutsummaryrefslogtreecommitdiffstats
path: root/main/oscam/oscam.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/oscam/oscam.initd')
-rw-r--r--main/oscam/oscam.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/oscam/oscam.initd b/main/oscam/oscam.initd
index 7ea972e298..32724d02c9 100644
--- a/main/oscam/oscam.initd
+++ b/main/oscam/oscam.initd
@@ -11,3 +11,8 @@ depend() {
need net
after firewall
}
+
+start_pre() {
+ checkpath --directory --owner $oscam_user:video --mode 0775 \
+ /var/run/$name
+}