salt-statetree/system/files/base_tun-perm.initd
2023-10-20 17:34:19 +02:00

13 lines
No EOL
249 B
Text

#!/sbin/openrc-run
supervisor=supervise-daemon
name="TUN Module Permission setter"
description="Setting the permission of /dev/net/tun to 666"
command=$(which chmod)
command_args="0666 /dev/net/tun"
command_user="root"
depend() {
need modules
}