Skip to content

Commit

Permalink
Merge pull request #1948 from benderl/ifconfig
Browse files Browse the repository at this point in the history
remove deprecated ifconfig calls
  • Loading branch information
benderl authored Oct 14, 2024
2 parents d8bd46b + 7ea1f96 commit 5130df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Samba als Sicherung einrichten.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Optional
11. Sichergehen, dass Benutzer aktiviert ist
sudo smbpasswd -e testsmb
12. IP-Adresse des Raspberry Pis notieren
ifconfig -> z.B.: 192.168.43.81
ip address -> z.B.: 192.168.43.81
13. Neustart von Samba nach Änderung der Konfiguration
sudo service smbd restart
sudo service nmbd restart
Expand Down
2 changes: 1 addition & 1 deletion packages/helpermodules/create_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def write_to_file(file_handler, func, default: Optional[Any] = None):
write_to_file(df, lambda: f"## section: configuration and state ##\n{config_and_state()}\n")
write_to_file(df, lambda: f'## section: system ##\n{run_command(["uptime"])}{run_command(["free"])}\n')
write_to_file(df, lambda: f"## section: uuids ##\n{get_uuids()}\n")
write_to_file(df, lambda: f'## section: network ##\n{run_command(["ifconfig"])}\n')
write_to_file(df, lambda: f'## section: network ##\n{run_command(["ip", "-s", "address"])}\n')
write_to_file(df, lambda: f'## section: storage ##\n{run_command(["df", "-h"])}\n')
write_to_file(df, lambda: f"## section: broker essentials ##\n{broker.get_broker_essentials()}\n")
write_to_file(
Expand Down

0 comments on commit 5130df0

Please sign in to comment.