You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.2 KiB
25 lines
1.2 KiB
3 years ago
|
#!/bin/sh
|
||
|
# полный путь до скрипта
|
||
|
ABSOLUTE_FILENAME=`readlink -e "$0"`
|
||
|
# каталог в котором лежит скрипт
|
||
|
SDIRECTORY=`dirname "$ABSOLUTE_FILENAME"`
|
||
|
|
||
|
a= . install2-init-functions
|
||
|
sed -i 's/#GreetString=K Desktop Environment (%n)/GreetString=Добро пожаловать на борт!/g' $destdir/etc/X11/kdm4/kdmrc
|
||
|
mkdir -p $destdir/etc/skel/.local/share/dolphin/view_properties/global
|
||
|
echo "[Dolphin]">$destdir/etc/skel/.local/share/dolphin/view_properties/global/.directory
|
||
|
echo "PreviewsShown=true">>$destdir/etc/skel/.local/share/dolphin/view_properties/global/.directory
|
||
|
|
||
|
#Назначение редактором vim
|
||
|
mkdir -p $destdir/etc/bashrc.d
|
||
|
echo "#!/bin/sh">$destdir/etc/bashrc.d/editor.sh
|
||
|
echo "export EDITOR=vim">>$destdir/etc/bashrc.d/editor.sh
|
||
|
echo "export GIT_EDITOR=vim">>$destdir/etc/bashrc.d/editor.sh
|
||
|
echo "alias vi='/usr/bin/vim-console'">>$destdir/etc/bashrc.d/editor.sh
|
||
|
chmod +x $destdir/etc/bashrc.d/editor.sh
|
||
|
|
||
|
#Привет от NM
|
||
|
echo "#!/bin/sh">$destdir/etc/firsttime.d/nm.sh
|
||
|
echo "echo -e \"\n[device]\nwifi.scan-rand-mac-address=no\" >> /etc/NetworkManager/NetworkManager.conf">>$destdir/etc/firsttime.d/nm.sh
|
||
|
chmod +x $destdir/etc/firsttime.d/nm.sh
|