summarylogtreecommitdiffstats
path: root/elevate.sh
blob: a4e13d1abad80a0db2d99804ac78b135e9bb2f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
    # Elevate (fixed)
    if [ -x "$GKSUDO" ]; then
         $GKSUDO --description $DESKFILE $RSSTARTUP $@
    elif [ -x "$KDESUDO" ]; then
        $KDESUDO $RSSTARTUP --- "$envi" $@
    elif [ -x "$PKEXEC" ]; then
        $PKEXEC $RSSTARTUP --- "$envi" $@
    else
        $TRAMPLIN $@ > /dev/null 2>&1
    fi

fi