90-set_hostname 165 B

1234567891011121314
  1. #!/bin/sh
  2. #
  3. . /lib/functions/uci-defaults.sh
  4. board_config_update
  5. json_is_a system object && exit 0
  6. ucidef_set_hostname "$(uname -n)"
  7. board_config_flush
  8. exit 0