#!/bin/sh [ -x /usr/bin/innetgr ] || exit 0 for hostname in "$(uname -n)" "$(hostname -s)" ; do # Automatically extend full LVM volumes if the host is a member of # the fsautoresize-hosts netgroup. if [ -x /usr/sbin/debian-edu-fsautoresize ] && innetgr -h $hostname fsautoresize-hosts ; then exec debian-edu-fsautoresize -n fi done