* No longer install nfs-kernel-server and samba. It will need a manual install.
This commit is contained in:
parent
5b7486e996
commit
13d8dd821c
@ -13,3 +13,4 @@
|
||||
|
||||
#### Changes
|
||||
* Disable Openvpn service (System tools for shell).
|
||||
* No longer install nfs-kernel-server and samba. It will need a manual install.
|
||||
|
18
README.md
18
README.md
@ -21,7 +21,23 @@ iface enp0s25 inet dhcp
|
||||
post-up openvpn /etc/openvpn/XYZ_tunnel.conf
|
||||
```
|
||||
|
||||
#### Network share
|
||||
|
||||
##### Add
|
||||
* keychain
|
||||
* knockd : small port-knock daemon.
|
||||
* nfs-common : NFS client. Useful network protocol for sharing between linux OS.
|
||||
* openssh-server : Secure SHell (SSH) server, for secure access from remote machines.
|
||||
|
||||
##### Remove
|
||||
* nfs-kernel-server : NFS server. Useful network protocol for sharing between linux OS.
|
||||
* samba : SMB/CIFS file, print and login server for Unix. One of the only Windows compatible protocole.
|
||||
|
||||
##### Configuration
|
||||
* Disable nfs-kernel-server service if still available.
|
||||
* Disable all samba service if still availables.
|
||||
|
||||
#### Manpages - Documentation
|
||||
|
||||
#### Add
|
||||
##### Add
|
||||
* info package
|
||||
|
@ -1333,35 +1333,34 @@ fi
|
||||
|
||||
|
||||
###########################################################
|
||||
## Partage réseau
|
||||
## Liste: keychain - knockd - nfs client - nfs server - samba - ssh
|
||||
## Network share
|
||||
## Liste: keychain - knockd - nfs client - ssh
|
||||
## Remove: nfs-kernel-server samba
|
||||
###########################################################
|
||||
###### Pré-configuration
|
||||
preconfig samba
|
||||
###### Pre-configuration
|
||||
#preconfig samba
|
||||
|
||||
###### Installation
|
||||
aptins "Partage réseau" keychain knockd nfs-common nfs-kernel-server openssh-server samba
|
||||
aptins "Partage réseau" keychain knockd nfs-common openssh-server
|
||||
|
||||
###### Remove
|
||||
aptitude remove nfs-kernel-server samba
|
||||
|
||||
###### Post-configuration
|
||||
## keychain
|
||||
#### If nfs-kernel-server and samba are need or vital for the system, disable them anyway
|
||||
# Disable samba service if available by default
|
||||
if [ $(command -v samba) ]; then
|
||||
systemctl disable nmbd.service
|
||||
systemctl disable smbd.service
|
||||
systemctl disable samba.service
|
||||
fi
|
||||
# Disable nfs-kernel-server service if available by default
|
||||
if [ $(command -v nfsdcltrack) ]; then
|
||||
systemctl disable nfs-kernel-server.service
|
||||
fi
|
||||
|
||||
###### Information pour l'utilisateur final
|
||||
cat >> "${INFORMATION}" << EOF
|
||||
|
||||
======Instructions Partage réseau======
|
||||
Voici la liste des paquets installés :
|
||||
|
||||
+keychain :
|
||||
|
||||
+knockd : utilitaire pour percuter des séquences de ports
|
||||
|
||||
+nfs : Partage réseau avec des clients Linux
|
||||
|
||||
+openssh-server : Permet l'accès à distance de l'ordinateur (prise de contrôle ou partage de données)
|
||||
|
||||
+samba : Partage réseau avec des clients windows
|
||||
|
||||
EOF
|
||||
###### Information for end user
|
||||
#### See README.md
|
||||
|
||||
|
||||
###########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user