blob: 50ee7d8e76b4daef0f3c8d9c78778cee53efd161 (
plain) (
tree)
|
|
#!/bin/execlineb -P
envfile /etc/s6/config/pppd.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/pppd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/pppd
}
foreground { install -d -o s6log -g s6log /run/log/pppd }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/pppd
|