diff --git a/Bashrc.wiki b/Bashrc.wiki index a55d6d0..a44cb09 100644 --- a/Bashrc.wiki +++ b/Bashrc.wiki @@ -102,16 +102,6 @@ https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/getdst.bash I work with Dell machines a lot, and when dealing with hardware problems, it's nice to have the service tag handy. Lucky for me, the service tag is easily retrieveable using `dmidecode(1)`, so I made a function for it. -{{{class="prettyprint" -getdst() { - if [[ "$1" = "-l" ]]; then - printf "http://www.dell.com/support/home/us/en/04/product-support/servicetag/%s/configuration\n" "$(getdst)" - else - sudo dmidecode -s system-serial-number - fi -} -}}} - As an added bonus, the `-l` option will print the url for that product's support page. ----