21 lines
436 B
Bash
21 lines
436 B
Bash
#! /bin/sh
|
|
# Copyright (c) 2000-2002 SuSE Linux AG, Nuernberg, Germany.
|
|
# All rights reserved.
|
|
#
|
|
# Author: Ruediger Oertel <ro@suse.de>, 2000
|
|
|
|
# check if we are started as root
|
|
# only one of UID and USER must be set correctly
|
|
|
|
if test "$UID" != 0 -a "$USER" != root; then
|
|
echo "You must be root to start $0."
|
|
exit 1
|
|
fi
|
|
|
|
test -n "$ROOT" && exit 0
|
|
|
|
LC_ALL=POSIX
|
|
|
|
export PATH=$PATH:/usr/X11R6/bin/
|
|
/usr/sbin/fonts-config --verbose
|