Je hebt een klacht over de onderstaande posting:
Door DRB: Weet iemand ook hoe je alle java-toepassing uitschakelt? script: --------------------------------------------------------------------------------------------------------------------------- #!/bin/bash (( X = 0 )) ; (( Y = 0 )) DIRS=' /System/Library/Frameworks/JavaVM.framework /System/Library/Java /Library/java ' (( $# == 0 )) && echo -e "\n Use '+' to enable, '-' to disable.\n" || echo for DIR in $DIRS do case "$#" in 1) [[ $1 = '+' || $1 = '-' ]] && [[ -d $DIR ]] && sudo chmod $1x $DIR || { echo 'Wrong argument...' exit 1 } ;; 0) ;; *) echo "Too many arguments..." exit 2 esac ls -ld $DIR | awk '{print $1"\t"$3":"$4"\t"$NF}' [[ -x "$DIR" ]] && (( X += 1 )) (( Y += 1 )) done case $X in $Y) printf "\n ==> Java enabled <==\n\n" ;; 0) printf "\n ==> Java disabled <==\n\n" ;; *) printf "\n ==> Java partially disabled <==\n\n" ;; esac ---------------------------------------------------------------------------------------------------------------------------
Beschrijf je klacht (Optioneel):