layer position config, r2 release
[pandora_liveinfo.git] / run.sh
CommitLineData
063ae4be 1#!/bin/sh
2
3a836137 3NAME="Live system info"
063ae4be 4MSG="Reserved OMAP video layer requires root access, please enter the password."
5
3a836137 6cp -n config.cfg.default config.cfg
7
063ae4be 8if test -f /etc/slackware-version; then
9
3a836137 10 # ktsuss -m "$MSG" ./liveinfo
11 gksu -D "$NAME" -m "$MSG" ./liveinfo
063ae4be 12
13else
14
15 t=`which terminal`
16 if [ -z "$t" ]; then
17 zenity --error --text='terminal is missing.'
18 exit 1
19 fi
20
3a836137 21 gksudo -D "$NAME" -m "$MSG" ./liveinfo
063ae4be 22
23fi