salt-statetree/system/files/base_tun-perm.initd
2023-12-31 16:18:29 +01:00

13 lines
250 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
}