5 ## Make sure that /dev/net/tun exists. Don't do anything special if devfs or
7 if [ ! -c /dev/.devfsd ] &&
11 echo "/dev/net/tun not present: invoking MAKEDEV to create it."
12 (cd /dev && /sbin/MAKEDEV tun)
15 ## Make sure that the `tripe' user and group exist.
16 getent group tripe >/dev/null ||
17 addgroup --system tripe
18 getent passwd tripe >/dev/null || \
22 --gecos "TrIPE server" \
25 ## Create the log directory and an initial logfile.
26 if [ ! -d /var/log/tripe ]; then
27 mkdir -m2750 /var/log/tripe
28 chown tripe:adm /var/log/tripe
30 if [ ! -f /var/log/tripe/tripe.log ]; then
31 (umask 027; touch /var/log/tripe/tripe.log)
32 chown tripe:adm /var/log/tripe/tripe.log