Skip to main content

Primary links

Show — Primary links Hide — Primary links
  • Home
  • Docker
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

/etc/init.d/fiXorg.sh

  • Log in to post comments

#!/bin/sh

if [ $(date +%H) -gt 18 ]; then
echo "activate Xorg ATI"
ln -sf /etc/X11/xorg.conf.ati /etc/X11/xorg.conf
else
echo "activate Xorg NVIDIA"
ln -sf /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
fi

exit 0

# chmod +x /etc/init.d/fiXorg.sh
# update-rc.d fiXorg.sh defaults 20

Misc

Show — Misc Hide — Misc
  • Installation
  • Grafana
  • Linux
    • Ubuntu
    • LTSP
    • HowTo
    • BASH
      • Scripts
      • check_http_access
      • extractEbook.sh
      • fdupes
      • fiXorg.sh
      • getUniqueFirstLetter.sh
      • mkBackup.sh
      • script-server
      • snippets
      • syncHome.sh
      • syncStore.sh
      • syncTs.sh
    • Backtrack
    • CUPS
    • CentOS
    • Debian
    • FreeNX
    • GRML
    • Gnome
    • Grub
    • IpFire
    • Kernel
    • Linux Lite
    • SSH
    • UEFI
    • dban
    • logrotate
    • parted
    • proxy
    • systemd
  • Hardware
  • Programming
  • Databases
  • Ansible
  • CLI
  • Multimedia
  • Plugins
  • Windows

Cloud

Show — Cloud Hide — Cloud
  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

Show — Virtualization Hide — Virtualization
  • Virtualization
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN
  • Incus

Network

Show — Network Hide — Network
  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

Show — Storage Hide — Storage
  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

Show — Automation / CI/CD Hide — Automation / CI/CD
  • Install
  • Ansible
  • GitLab
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

Show — Monitoring / Visualisation Hide — Monitoring / Visualisation
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Page QR Code

QR code for this page URL

Profiles

  

© panticz 2025

Footer menu

Show — Footer menu Hide — Footer menu
  • Contact
  • Imprint