diff options
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.local.core/install.sh')
-rwxr-xr-x | systemtap/org.eclipse.linuxtools.systemtap.local.core/install.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.local.core/install.sh b/systemtap/org.eclipse.linuxtools.systemtap.local.core/install.sh deleted file mode 100755 index 004fe90319..0000000000 --- a/systemtap/org.eclipse.linuxtools.systemtap.local.core/install.sh +++ /dev/null @@ -1,21 +0,0 @@ -FILE=/etc/group -USER=`whoami` -num=1 - -#CREATE A BACKUP FILE WITHOUT OVERWRITING ANYTHING -while [ -e "${FILE}.bak${num}" ]; do - num=`expr ${num} + 1` -done - -USEREXISTS=`grep stapdev ${FILE}| grep ${USER}` - -if [ -z "${USEREXISTS}" ]; then - -echo -e "Creating backup of ${FILE} \nat : ${FILE}.bak${num}" - - -#BACKUP THE FILE AND THEN WRITE THE CURRENT USER TO THE STAPDEV GROUP -echo "Root password required to add your username to the stapdev group." -su -c "cp ${FILE} ${FILE}.bak${num}; gpasswd -a `whoami` stapdev" - -fi |