<commit_before>#!/bin/bash
FILENAME="cpu.gov"


if [[ $(cat /etc/init.d/cpu_gov.sh  3>&1 1>&2 2>&3) == *"No such file or directory"* ]]; then
	touch /etc/init.d/cpu_gov.sh
	echo -e "#!/bin/sh\n### BEGIN INIT INFO\n# Provides:          "$FILENAME"\n# Required-Start:    $local_fs $network $named $time $syslog\n# Required-Stop:     $local_fs $network $named $time $syslog\n# Default-Start:     2 3 4 5\n# Default-Stop:      0 1 6\n# Description:       script to automatically set cpu governors and ondemand threshold to desired value at boot\n### END INIT INFO " > /dev/null 2>&1
	chmod +x /etc/init.d/cpu_gov.sh
	../"$FILENAME"
	insserv -d "$FILENAME"
	update-rc.d cpu_gov.sh defaults
fi
cp ./cpu.gov.sh /usr/local/bin/cpu.gov
chmod 755 /usr/local/bin/cpu.gov
chmod +x /usr/local/bin/cpu.gov<commit_msg>struggling with change of permissions at install<commit_after>#!/bin/bash
FILENAME="cpu.gov"


if [[ $(cat /etc/init.d/cpu_gov.sh  3>&1 1>&2 2>&3) == *"No such file or directory"* ]]; then
	touch /etc/init.d/cpu_gov.sh
	echo -e "#!/bin/sh\n### BEGIN INIT INFO\n# Provides:          "$FILENAME"\n# Required-Start:    $local_fs $network $named $time $syslog\n# Required-Stop:     $local_fs $network $named $time $syslog\n# Default-Start:     2 3 4 5\n# Default-Stop:      0 1 6\n# Description:       script to automatically set cpu governors and ondemand threshold to desired value at boot\n### END INIT INFO " > /dev/null 2>&1
	chmod +x /etc/init.d/cpu_gov.sh
	../"$FILENAME"
	insserv -d "$FILENAME"
	update-rc.d cpu_gov.sh defaults
fi
cp ./cpu.gov.sh /usr/local/bin/cpu.gov
sudo chmod 755 /usr/local/bin/cpu.gov
sudo chmod +x /usr/local/bin/cpu.gov
{'fraction_non_alphanumeric': 0.16353725015142337, 'fraction_numerical': 0.021804966686856452, 'mean_word_length': 3.2467866323907457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '187647', 'n_tokens_mistral': 665, 'n_tokens_neox': 626, 'n_words': 177}