|
发表于 2020-3-7 13:57:17
|
显示全部楼层
紫萱紫萱 发表于 2020-3-6 22:05 H; u) I8 j6 [ {
120j测试8 t0 \9 _ \7 s2 y- e* _6 ?. _, T
改为
' H% B9 A. x7 I9 asmartctl -a /dev/hda -d ata | sed -n '/Temperature_Celsius/p' | awk '{print $10}' ; F$ e" D+ D1 r% X( s D
层主,你120J是用什么办法休眠的?我按照http://bbs.nasdiyer.com/forum.ph ... =%E4%BC%91%E7%9C%A0在SSH里面找不到他图片上的内容
! K% @4 Z& N/ y; v0 J1 llogin as: admin
6 P. g! w( Y. k7 @, R7 `admin@192.168.0.105's password:4 F/ M, b4 R8 A3 v
admin@DS120J:~$ sudo vi /etc/init/syslog-ng.conf: E8 m/ }/ f7 {) z+ f
Password:" ?9 r, i3 q; \+ ^
author "Development Infrastructure Team", Q1 q. l6 L) Q! K
description "start syslog-ng"
4 X) t2 F4 V. W W9 b; u4 W
) o5 \0 s" d9 D, A; P8 [; Gstart on stopped hostname2 c0 j1 t: O- q
. U* P1 s' ?6 U/ koom score -9996 q$ y, q$ _8 u% i. b3 \
* J* J. i/ f5 V9 L; {% b& D
respawn9 d( m7 O# m! \% k9 U* z# u4 ]
respawn limit 5 10% x n; t1 t; O$ Z* C: m+ o) K$ b
& Y2 K2 `* F1 K/ T7 t
console log) F0 e% H- `6 G+ c
8 }% `* ?2 _5 h6 E2 F+ B apre-start script
M% k) E+ A- B+ o; h+ x K, Z; x # skip pre-start for synoservice --reload syslog-ng N1 C& H: L( U+ p+ K: k
if ! /bin/flock -n /var/run/syslog-ng.lock true; then/ s6 _0 e% r' o; M
exit 0
; \/ H3 j. B! _# Z fi
3 A, v: V' e" s( ^1 H# B( ^ V; {2 T8 G; r% }
# check /dev/log is a domain socket file+ ~1 V9 z/ m( h
# prevent error='Address already in use (98)'- o( C" V( ] y5 w1 T
if [ ! -S /dev/log ]; then
& |" {3 I3 x7 X9 x+ ` rm -f /dev/log9 o9 ]! k3 }! F8 _+ ~* h
fi
4 c" ^2 \: T( Y"/etc/init/syslog-ng.conf" 78L, 2216C 1,1 Top% E5 ?, h, N4 @
不知道该在哪里添加 |
|