forked from jamielinux/bashmount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
38 lines (23 loc) · 964 Bytes
/
INSTALL
File metadata and controls
38 lines (23 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Dependencies
============
* bash
* eject
* Optional: udisks2
bashmount should work on all distributions with a recent version of lsblk.
Installation
============
1. As root, copy "bashmount" to "/usr/bin" or any other location in $PATH:
install -m755 bashmount /usr/bin/bashmount
2. Backup any existing configuration files.
3. As root, copy "bashmount.conf" to "/etc/bashmount.conf" for global
configuration:
install -m644 bashmount.conf /etc/bashmount.conf
4. Optionally, copy "bashmount.conf" to "$HOME/.config/bashmount/config"
for per-user configuration:
mkdir -p $HOME/.config/bashmount/
install -m644 bashmount.conf $HOME/.config/bashmount/config
5. Optionally, copy "bashmount.1" to "/usr/share/man/man1":
gzip -9 bashmount.1
install -m644 bashmount.1.gz /usr/share/man/man1/bashmount.1.gz
6. Make life a bit easier by setting an alias in "$HOME/.bashrc":
alias bm='bashmount'