#!/bin/sh # # /etc/init.d/passwd # script to check integrity of the password and group files at system startup # set -e test -f /usr/sbin/pwck || exit 0 case "$1" in start) echo -n 'Checking password and group files... ' pwck -q -r grpck -r echo "done." ;; stop|restart|reload|force-reload) ;; *) echo "Usage: /etc/init.d/passwd start" exit 1 ;; esac exit 0