scripts installation pour debian
This commit is contained in:
9
scripts/Debian11/chname
Normal file
9
scripts/Debian11/chname
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $1 == "version" ]] ; then
|
||||
echo 'chname v1.0 pour debian 11'
|
||||
exit 0
|
||||
fi
|
||||
sed -i "s/bullseye/$1/g" /etc/host{s,name}
|
||||
echo 'redemarrer pour finaliser le changement du nom'
|
||||
exit 0
|
Reference in New Issue
Block a user