File: userscripts-down

package info (click to toggle)
ppp 2.4.9-1%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,668 kB
  • sloc: ansic: 56,182; sh: 1,074; perl: 334; makefile: 109; exp: 82
file content (7 lines) | stat: -rw-r--r-- 158 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
#!/bin/sh -e

getent passwd | awk -F: '{print $1 " " $6}' | \
while read user home; do
    [ -x $home/.ip-up.d/ ] && su $user run-parts $home/.ip-up.d/
done