@axium/sysadmin 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/info.js +1 -1
- package/package.json +2 -2
package/dist/client/info.js
CHANGED
|
@@ -136,7 +136,7 @@ function memory() {
|
|
|
136
136
|
function networkInterfaces() {
|
|
137
137
|
const result = [];
|
|
138
138
|
for (const name of list('/sys/class/net')) {
|
|
139
|
-
if (name === 'lo')
|
|
139
|
+
if (name === 'lo' || name.startsWith('veth') || name.startsWith('docker') || name.startsWith('br-'))
|
|
140
140
|
continue;
|
|
141
141
|
const operstate = read(`/sys/class/net/${name}/operstate`);
|
|
142
142
|
const connected = operstate === 'up' || read(`/sys/class/net/${name}/carrier`) === '1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axium/sysadmin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"author": "James Prevett <axium@jamespre.dev>",
|
|
5
5
|
"description": "System administration for Axium",
|
|
6
6
|
"funding": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@axium/client": ">=0.27.0",
|
|
40
|
-
"@axium/core": ">=0.
|
|
40
|
+
"@axium/core": ">=0.33.0",
|
|
41
41
|
"@axium/server": ">=0.47.0",
|
|
42
42
|
"@sveltejs/kit": "^2.27.3",
|
|
43
43
|
"kysely": "^0.29.0",
|