View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#363
To complete the offtopic discussion about aliases:
I put a script into /etc/profiles.d/ and put there my aliases common for user and root. For aliases that should be different I put them into a
if [ `id -u` != 0 ]
then
alias iwpower='sudo iwconfig wlan0 txpower '
else
alias iwpower='iwconfig wlan0 txpower '
fi
section.
Not sure if this is unix conform, but it works. And I have all my aliases in one place.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post: