=================================================================== RCS file: /cvs/openbsd/backup_config/backup_config,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- openbsd/backup_config/backup_config 2009/05/21 23:05:06 1.4 +++ openbsd/backup_config/backup_config 2009/05/21 23:25:39 1.5 @@ -1,5 +1,10 @@ #!/bin/sh -# $RedRiver: backup_config,v 1.2 2009/05/21 21:54:34 andrew Exp $ +# $RedRiver: backup_config,v 1.4 2009/05/21 22:05:06 andrew Exp $ + +if [ `id -u` -ne 0 ]; then + echo You should run this as root! >&2 + exit 255 +fi FILE=`hostname -s`-`date +%Y-%m-%d` local _maxhomesize=20480