Fixed getdst() url creation
This commit is contained in:
parent
882b269796
commit
e444b00e73
2
.bashrc
2
.bashrc
|
@ -113,7 +113,7 @@ alias screenterm='TERM=screen-256color'
|
||||||
# Print Dell Service Tag
|
# Print Dell Service Tag
|
||||||
getdst() {
|
getdst() {
|
||||||
if [[ "$1" = "-l" ]]; then
|
if [[ "$1" = "-l" ]]; then
|
||||||
printf "http://www.dell.com/support/home/us/en/04/product-support/servicetag/%s\n" "$(getdst)"
|
printf "http://www.dell.com/support/home/us/en/04/product-support/servicetag/%s/configuration\n" "$(getdst)"
|
||||||
else
|
else
|
||||||
sudo dmidecode -s system-serial-number
|
sudo dmidecode -s system-serial-number
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue