aboutsummaryrefslogtreecommitdiffstats
path: root/testing/modemmanager/modemmanager.post-install
blob: 05eb1f2b7dcdc9613b98c6d119837efe8bd77760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

NORMAL="\033[1;0m"
STRONG="\033[1;1m"
GREEN="\033[1;32m"

print_strong() {
        local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}"
        printf "${prompt} %s\n"
}

print_strong "\nIf your USB modem shows up as a Flash drive" "when you plug it in:"
print_strong "install 'usb-modeswitch'" "to automatically switch to USB modem mode whenever you plug it in."
print_strong "\nTo control your modem without the root password:" " add your user account to the 'plugdev' group.\n"
exit 0