mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 03:19:39 +08:00
12 lines
170 B
Diff
12 lines
170 B
Diff
--- a/src/main/radtest.in
|
|
+++ b/src/main/radtest.in
|
|
@@ -112,7 +112,7 @@ if [ "$7" ]
|
|
then
|
|
nas=$7
|
|
else
|
|
- nas=`hostname`
|
|
+ nas=$(cat /proc/sys/kernel/hostname)
|
|
fi
|
|
|
|
(
|