mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-03 03:20:52 -05:00
functions: Remove unsued restore function
This is not referenced anywhere so I guess that we don't need it.
This commit is contained in:
parent
61a7466117
commit
9c9ab738ac
@ -15,14 +15,6 @@ CHECKMACSYMLINK () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore gl_tertf from back-up
|
|
||||||
RESTORE_GL_TERTF () {
|
|
||||||
local loc_file="/etc/init.d/gl_tertf"
|
|
||||||
local loc_backup="/etc/init.d/gl_tertf.bak"
|
|
||||||
#local loc_location="/etc/init.d"
|
|
||||||
rm "$loc_file"
|
|
||||||
mv "$loc_backup" "$loc_file"
|
|
||||||
}
|
|
||||||
|
|
||||||
UNICAST_MAC_GEN () {
|
UNICAST_MAC_GEN () {
|
||||||
loc_mac_numgen=`python3 -c "import random; print(f'{random.randint(0,2**48) & 0b111111101111111111111111111111111111111111111111:0x}'.zfill(12))"`
|
loc_mac_numgen=`python3 -c "import random; print(f'{random.randint(0,2**48) & 0b111111101111111111111111111111111111111111111111:0x}'.zfill(12))"`
|
||||||
|
Loading…
Reference in New Issue
Block a user