Compare commits
No commits in common. "a235cfa3fad2a8b66b1f5d21b0240be089618f0e" and "11da7972db5a0d5a66bab213a2fb0c1aa433d433" have entirely different histories.
a235cfa3fa
...
11da7972db
5 changed files with 6 additions and 20 deletions
|
@ -1,4 +0,0 @@
|
|||
FI_SERVER="https://agent.dg.acaqb.net/"
|
||||
FI_PROXY_USER="agent"
|
||||
FI_PROXY_PASS="kE9TDtP63xwK"
|
||||
FI_CONF_FILE="/etc/fusioninventory/agent.cfg"
|
|
@ -1,3 +1,3 @@
|
|||
Package: ~/libreoffice/
|
||||
Package: libreoffice libreoffice-gtk3 libreoffice-l10n-fr
|
||||
Pin: release n=stretch-backports
|
||||
Pin-Priority: 991
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Package: remmina remmina-plugin-rdp
|
||||
Pin: release n=stretch-backports
|
||||
in: release n=stretch-backports
|
||||
Pin-Priority: 991
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
pulseaudio
|
||||
unzip
|
||||
unattended-upgrades
|
||||
apt-listchanges
|
||||
exfat-utils
|
||||
ntfs-3g
|
||||
|
||||
# Desktop
|
||||
xorg
|
||||
|
@ -24,7 +21,6 @@ xfce4-systemload-plugin
|
|||
thunar-archive-plugin
|
||||
gnome-system-tools
|
||||
gnome-disk-utility
|
||||
gnome-keyring
|
||||
plank
|
||||
|
||||
#Printing
|
||||
|
@ -57,8 +53,6 @@ thunderbird
|
|||
thunderbird-l10n-fr
|
||||
vlc
|
||||
vlc-l10n
|
||||
remmina
|
||||
remmina-plugin-rdp
|
||||
|
||||
#FI Agent
|
||||
fusioninventory-agent
|
||||
|
|
12
install.sh
12
install.sh
|
@ -82,22 +82,22 @@ create_fusioninv_conf () {
|
|||
}
|
||||
|
||||
configure_drm(){
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
then
|
||||
echo "drm" >> $INITRAMFS_CONF_FILE
|
||||
cat "drm" >> $INITRAMFS_CONF_FILE
|
||||
else
|
||||
message "DRM already done " "warn"
|
||||
fi
|
||||
if [ -z "$(grep -o $1 $INITRAMFS_CONF_FILE)" ]
|
||||
then
|
||||
echo "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
||||
cat "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
||||
else
|
||||
message "$1 already done " "warn"
|
||||
fi
|
||||
}
|
||||
|
||||
configure_grub (){
|
||||
sed -Ei "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 splash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
||||
sed -E "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 spash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
||||
update-grub2 2>/dev/null
|
||||
}
|
||||
|
||||
|
@ -154,10 +154,6 @@ message "\nCreate users default parameters : "
|
|||
cp -R files/skel/ /etc/ &> /dev/null
|
||||
message "OK" "ok"
|
||||
|
||||
message "\nConfigure fusioninventory"
|
||||
create_fusioninv_conf
|
||||
message "OK" "ok"
|
||||
|
||||
#remove interface file until NM use network
|
||||
rm -rf /etc/network/interfaces
|
||||
|
||||
|
|
Reference in a new issue