1. 24 May, 2021 2 commits
  2. 28 Apr, 2021 1 commit
  3. 11 Mar, 2021 1 commit
    • Daniel Golle's avatar
      sys: packagelist: drop ABI version from package name · ccb75178
      Daniel Golle authored
      
      
      Having the ABI version appended to the package name is not very helpful
      when checking for updated versions of a package online or requesting
      a new image for the device from an updater service. In both cases,
      the ABI version could have been bumped meanwhile and that name is then
      simply not found.
      Resolve this by removing the appended ABI version in the output of the
      rpc-sys packagelist call.
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      ccb75178
  4. 17 Jan, 2021 1 commit
  5. 06 Jan, 2021 1 commit
  6. 05 Jan, 2021 4 commits
  7. 19 Oct, 2020 1 commit
  8. 18 Sep, 2020 1 commit
  9. 10 Sep, 2020 1 commit
    • Rafał Miłecki's avatar
      rc: new ubus object for handling /etc/init.d/ scripts · 646daa0b
      Rafał Miłecki authored
      
      
      This commit adds "rc" ubus object with methods "list" and "exec" for
      listing and calling init.d script appropriately. It's useful for all
      kind of UIs (e.g. LuCI) and custom apps.
      
      Example:
      root@OpenWrt:~# ubus call rc list
      {
      	"blockd": {
      		"start": 80,
      		"enabled": true,
      		"running": true
      	},
      	"dnsmasq": {
      		"start": 19,
      		"enabled": true,
      		"running": true
      	}
      }
      root@OpenWrt:~# ubus call rc init '{ "name": "blockd", "action": "disable" }'
      root@OpenWrt:~# ubus call rc init '{ "name": "dnsmasq", "action": "stop" }'
      root@OpenWrt:~# ubus call rc list
      {
      	"blockd": {
      		"start": 80,
      		"enabled": false,
      		"running": true
      	},
      	"dnsmasq": {
      		"start": 19,
      		"enabled": true,
      		"running": false
      	}
      }
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      646daa0b
  10. 03 Jun, 2020 1 commit
  11. 26 May, 2020 3 commits
  12. 02 May, 2020 2 commits
  13. 24 Mar, 2020 1 commit
  14. 20 Mar, 2020 1 commit
  15. 17 Mar, 2020 1 commit
    • Fabian Bläse's avatar
      session: deny access if password login is disabled · 3df62bce
      Fabian Bläse authored
      
      
      The special characters '!' and '*' in /etc/shadow are
      used to disable password login for a specific account.
      
      The character 'x' has no special meaning, but should not
      be interpreted as an empty password.
      
      However, rpcd did treat these special characters like no
      password was set, which allows access even though the account
      is disabled.
      
      By removing the additional checks for these characters, the
      encrypted password string is passed to crypt, which returns NULL
      if the salt has an invalid format and therefore access is denied.
      
      Fixes: FS#2634
      Signed-off-by: default avatarFabian Bläse <fabian@blaese.de>
      3df62bce
  16. 11 Mar, 2020 18 commits