Bug 8718 - Добавить в init.d/clock команду status
Summary: Добавить в init.d/clock команду status
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: startup (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 22:50 MSK by Vitaly Lipatov
Modified: 2007-05-19 21:42 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2005-12-23 22:50:04 MSK
Как-то незавершённо смотрится невозможность сделать 
# service clock status 
 
Предлагаю добавить: 
 
--- clock.orig  2005-12-23 22:46:33 +0300  
+++ clock   2005-12-23 22:46:29 +0300  
@@ -92,6 +92,9 @@  
        action "Setting hardware clock$CLOCKDEF: `date`" /sbin/hwclock  
--systohc $CLOCKFLAGS  
        RETVAL=$?  
        ;;  
+   status)  
+       clock  
+       ;;  
    stop)  
        if is_yes "$HWCLOCK_SET_AT_HALT" && clock_unsynced; then  
            # action cannot be used in this context.
Comment 1 Dmitry V. Levin 2006-08-11 03:24:52 MSD
Добавлено в 0.9.8.5.