⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.171
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
snap
/
core
/
current
/
etc
/
network
/
if-down.d
/
View File Name :
ubuntu-fan
#!/bin/sh set -e case "$IFACE" in lo) exit 0 ;; fan-*) exit 0 ;; esac case "$ADDRFAM" in inet) ;; *) exit 0 ;; esac # NOTE: NetworkManager simply does not call out to the normal # down hooks as it only checks _after_ the interface has # been lost. Roll with this. case "$PHASE::$METHOD" in post-up::static|post-up::dhcp|post-up::NetworkManager) ;; pre-down::static|pre-down::dhcp|post-down::NetworkManager) ;; *) exit 0 ;; esac case "$MODE" in start|stop) ;; *) exit 0 ;; esac /usr/sbin/fanctl net "$MODE" "$IFACE"