92-system.sh 205 B

12345678
  1. # -- Setup system configuration
  2. # Change the hostname
  3. uci set system.@system[0].hostname=Pineapple
  4. uci commit system
  5. echo $(uci get system.@system[0].hostname) > /proc/sys/kernel/hostname
  6. exit 0