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