Remove tasksel #10
This commit is contained in:
parent
03b1bcd3e1
commit
488f0d406d
|
@ -35,8 +35,7 @@ rm -f /var/log/daemon.log /var/log/syslog /var/log/messages
|
||||||
# Restart Rsyslog service
|
# Restart Rsyslog service
|
||||||
/etc/init.d/rsyslog restart
|
/etc/init.d/rsyslog restart
|
||||||
|
|
||||||
|
### Logrotate {{{
|
||||||
### Logrotate ###
|
|
||||||
|
|
||||||
# Install new Logrotate configuration
|
# Install new Logrotate configuration
|
||||||
if [ -f "${LOGROTATE_FILE}" ]; then
|
if [ -f "${LOGROTATE_FILE}" ]; then
|
||||||
|
@ -51,11 +50,24 @@ mkdir -p -- /var/log/old_logs
|
||||||
|
|
||||||
# Create the log directory for journald (Systemd), need the configuration Storage=(auto|persistent)
|
# Create the log directory for journald (Systemd), need the configuration Storage=(auto|persistent)
|
||||||
mkdir -p -- /var/log/journal
|
mkdir -p -- /var/log/journal
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
### NFS {{{
|
||||||
### NFS ###
|
|
||||||
|
|
||||||
# Remove NFS and rpcbind
|
# Remove NFS and rpcbind
|
||||||
NFS_PKG_REMOVE="nfs-common rpcbind"
|
NFS_PKG_REMOVE="nfs-common rpcbind"
|
||||||
|
|
||||||
aptitude -y remove "${NFS_PKG_REMOVE}"
|
aptitude -y remove "${NFS_PKG_REMOVE}"
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
### Tasksel {{{
|
||||||
|
TASKSEL_PKG_REMOVE="tasksel tasksel-data task-english task-french task-ssh-server laptop-detect"
|
||||||
|
|
||||||
|
aptitude -y remove "${TASKSEL_PKG_REMOVE}"
|
||||||
|
|
||||||
|
# Ensure to reinstall openssh-server
|
||||||
|
SSH_PKG_INSTALL="openssh-server openssh-sftp-server"
|
||||||
|
aptitude -y install "${SSH_PKG_INSTALL}"
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue