fixed some typos
This commit is contained in:
@@ -27,7 +27,7 @@ add_remote_user()
|
|||||||
# Create a local user
|
# Create a local user
|
||||||
create_user()
|
create_user()
|
||||||
{
|
{
|
||||||
if [[ $(noerror --noouut id $1) != 0 ]]; then
|
if [[ $(noerror --noout id $1) != 0 ]]; then
|
||||||
useradd -Um $1
|
useradd -Um $1
|
||||||
else
|
else
|
||||||
prnt W "L'utilisateur $1 existe déjà. Rien à faire..."
|
prnt W "L'utilisateur $1 existe déjà. Rien à faire..."
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Variable :
|
# Variable :
|
||||||
# * CALCTYPE: filesystem to use (zfs, ext4, xfs)
|
# * CALCTYPE: filesystem to use (zfs, ext4, xfs)
|
||||||
# * CALCMOUNTPOINT: mount point of the target file system (FQPN)
|
# * CALCMOUNTPOINT: mount point of the target file system (FQP)
|
||||||
# * CALCLEVEL: ZFS only, RAID level (mirror, raidz1, raidz2, raidz3),
|
# * CALCLEVEL: ZFS only, RAID level (mirror, raidz1, raidz2, raidz3),
|
||||||
# empty for striped volume. Any other level than stripe requires
|
# empty for striped volume. Any other level than stripe requires
|
||||||
# more than one disk.
|
# more than one disk.
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ install_pkg()
|
|||||||
if [[ -n PKGS_BLACKLIST ]]; then
|
if [[ -n PKGS_BLACKLIST ]]; then
|
||||||
for pkg in $PKGS_BLACKLIST; do
|
for pkg in $PKGS_BLACKLIST; do
|
||||||
prnt I "Mise du paquet $pkg en liste noire..."
|
prnt I "Mise du paquet $pkg en liste noire..."
|
||||||
local dest=/usr/apt/preferences.d/blacklist_$pkg.conf
|
local dest=/etc/apt/preferences.d/blacklist_$pkg.conf
|
||||||
installfile blacklist.conf $dest &&
|
installfile blacklist.conf $dest &&
|
||||||
sed -i -e "s/@pkg@/pkg/" $dest
|
sed -i -e "s/@pkg@/pkg/" $dest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user