From amb@gedanken.demon.co.uk Tue Aug 17 22:14:00 1999 Date: Fri, 6 Aug 1999 19:00:24 +0100 From: Andrew M. Bishop To: richard@rrbcurnow.freeserve.co.uk Subject: Re: Chrony and laptop configuration Hi, Attached is the apmd_proxy script from the apmd-3.0beta9 distribution. The changes that I would make are the following: Replace the update_clock function (line 122) with update_clock () { chronyd -f /etc/chrony.conf } Around line 171 (in the suspend actions section) I would kill chronyd. begin 644 apmd_proxy.gz M'XL("+L@JS<``V%P;61?<')O>'D`I5K[;]M&$OY9^BLV2JZQ6TF.`Q2XUDA1 MQU8<]>('_&A[.!R,-;D2MR&Y+)?TXZ[WO]\W,\N'%-E)[X08CJ2=V7G/-T,_ M?[9S8_,=GPR?*_S3119?%Z6[?U`3A=_+4F9R M$!R4VB[5L2X_WNDRKM161!]D/Z:)T9FVZ73I%]$TUUY/E^YV6[W>Q>$'M?O= M=]^!^E#?VEB]+=U=;M)4;<4W/Q;.5]-$E[=@-S5QO:V^4S_5N0DD(+I,K%<^ M(0(?E;:H%-Y'.DU-K&X>5)68GHAJBU3:5G>)R?DK7^G*@(M;*)T_J,+=0:U, MYWII,I-7:E'G465!F&AP372^-/%4X5*CS+V.*F5N<9X5-C:IL9J:LYR^V2BP) M3>J*HJS`@Z],IG2Q*NJ*M0(SJ!1[TK-4FA7RL(&-DN;H MC5&%*>'/#&:K"XC'EH%".O>6"42,GBJ=G>\@F_*%B>S"1DJ7RSIKK0*-25Q< M0.*RN""P(@1 M:(;4:ASM37EK(Z.V;JU6.Y`TVH',VQRKF<-9FY.:FG0:DT+P!MA6^J-(J`O0 M%*4E[<54HO@[T,/E69&:_:P.&:D?JM]!?/B3L-ZMRYC M-1/$-%D0$BP=1,/OAD'F8A-";<6[X)(A9^ZL3X@LN$W!2V;2^2`X.;50J\Y3 MIV.*Q;BTMZ:$U8D+$EG?<(B25+FI[ESYD60`1QW1W;^T:=**#(?4%",I[%.. M0T`\8@HYJW(R=SH:4UQ+T%%4@Z_SC8DI-+M(+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"7%>'RC#;2\D<[%2/8VA.F[-_:/?T)%PLWLA_J]5VW >Z]AB9"M2/=L.+(S7D<0S_V\81H;_`M>*^#$A)0`` ` end -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb@gedanken.demon.co.uk http://www.gedanken.demon.co.uk/