Submit
Path:
~
/
/
opt
/
psa
/
admin
/
sbin
/
modules
/
ntp-timesync
/
File Content:
dbus-send.py
#!/usr/bin/env python3 # Copyright 1999-2024. WebPros International GmbH. All rights reserved. import dbus import sys def main(args): if len(args) != 1: raise Exception("Expected exactly one parameter, got " + str(len(args))) property = str(args[0]) bus = dbus.SystemBus() obj = bus.get_object("org.freedesktop.timedate1", "/org/freedesktop/timedate1") proxy = dbus.Interface(obj, dbus_interface="org.freedesktop.DBus.Properties") val = proxy.Get("org.freedesktop.timedate1", property) print("true" if val else "false") if __name__ == "__main__": main(sys.argv[1:])
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
chrony-mng.sh
931 bytes
0755
dbus-send.py
610 bytes
0755
ntp-mng.sh
806 bytes
0755
package-mng.sh
1652 bytes
0755
time-mng.sh
5638 bytes
0755
N4ST4R_ID | Naxtarrr