X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=run.sh;h=8b46a91beae7a86cc48af8fb736f9476de738d51;hb=f705b452ec584f70d868768defde2ae34a606126;hp=e54a4443463b05f987d2a07fc7beee2c89b39ad5;hpb=063ae4be6676b3b6c48183e3753238b05547b124;p=pandora_liveinfo.git diff --git a/run.sh b/run.sh index e54a444..8b46a91 100755 --- a/run.sh +++ b/run.sh @@ -1,10 +1,15 @@ #!/bin/sh +NAME="Live system info" MSG="Reserved OMAP video layer requires root access, please enter the password." +cp -n config.cfg.default config.cfg + if test -f /etc/slackware-version; then - ktsuss -m "$MSG" ./liveinfo + # ktsuss -m "$MSG" ./liveinfo + # gksu -D "$NAME" -m "$MSG" ./liveinfo + gksu ./liveinfo else @@ -14,7 +19,6 @@ else exit 1 fi - gksudo -D "SGX driver installer" \ - -m "$MSG" ./liveinfo + gksudo -D "$NAME" -m "$MSG" ./liveinfo fi