Functions in sequence
This commit is contained in:
parent
b2c17226e9
commit
8281f2a2dc
|
@ -24,6 +24,10 @@ function argument_checks {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function remove_proprietary_repos {
|
||||||
|
sed -i 's/ non-free//g' /etc/apt/sources.list
|
||||||
|
}
|
||||||
|
|
||||||
function initial_setup {
|
function initial_setup {
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
apt-get -y dist-upgrade
|
apt-get -y dist-upgrade
|
||||||
|
@ -38,10 +42,6 @@ function enable_backports {
|
||||||
echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
|
echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_proprietary_repos {
|
|
||||||
sed -i 's/ non-free//g' /etc/apt/sources.list
|
|
||||||
}
|
|
||||||
|
|
||||||
function update_the_kernel {
|
function update_the_kernel {
|
||||||
cd /opt/scripts/tools
|
cd /opt/scripts/tools
|
||||||
./update_kernel.sh --kernel $KERNEL_VERSION
|
./update_kernel.sh --kernel $KERNEL_VERSION
|
||||||
|
|
Loading…
Reference in New Issue