You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment it's required to build the whipper image yourself as the official Docker support is not yet integrated (https://github.com/JoeLametta/whipper/pull/237).
Just be sure to substitude the placeholders `<username>` and `<path-to-script>` by the appropriate values. The script will be run with the according user permissions. This is important to get the correct locale settings in the environment.
94
+
Add a udev rule to automatically trigger the script:
# reread the config file to include a late shutdown decision
102
130
if [ -f "$CONFIG_FILE" ]; then
@@ -110,7 +138,6 @@ If you want to use a config file then you're required to create an intermediate
110
138
sudo shutdown -h $SHUTDOWN_TIMEOUT
111
139
fi
112
140
113
-
114
141
The config file:
115
142
116
143
# disable auto ripping?
@@ -123,7 +150,8 @@ The config file:
123
150
These options are available:
124
151
125
152
- `DISABLED={0,1}`: Disable the script. Good if you like listen to some music CDs without instantly ripping them
126
-
- `SHUTDOWN={0,1}`: You can choose whether to automatically shutdown the system ofter the rip process has finished. This is good e.g. when going to bed and letting the system finish the last CD by itself. For using this you need to have the permission to shutdown the system via the command line. You can achieve this by inserting `%sudo ALL = NOPASSWD: /sbin/shutdown` into `/etc/sudoers`.
153
+
- `SHUTDOWN={0,1}`: You can choose whether to automatically shutdown the system ofter the rip process has finished.
154
+
This is good e.g. when going to bed and letting the system finish the last CD by itself. For using this you need to have the permission to shutdown the system via the command line. You can achieve this by inserting `%sudo ALL = NOPASSWD: /sbin/shutdown` into `/etc/sudoers`.
127
155
- `SHUTDOWN_TIMEOUT=<value>`: Lets you define the shutdown timeout
128
156
129
157
## Links
@@ -134,4 +162,4 @@ These options are available:
134
162
135
163
---
136
164
137
-
**Any comments, questions or PRs are very welcome!**
165
+
**Any comments, questions or pull requests are very welcome!**
0 commit comments