diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-04-06 10:38:00 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-06 10:38:00 +0200 |
| commit | f1087eb55a835f2b4adaaccea7b092e19a3ba6e3 (patch) | |
| tree | 270d90e0bcc651e9d375f8410e2b74b215c52766 /hooks | |
| parent | 1c158e15ba2d4b2e9cb166024393087aa3560d3d (diff) | |
| download | live-boot-f1087eb55a835f2b4adaaccea7b092e19a3ba6e3.tar.gz live-boot-f1087eb55a835f2b4adaaccea7b092e19a3ba6e3.zip | |
Only looking at boot.d files if they have the .conf suffix to allow putting other files into these places that do not necessarily need to be used by live-boot (e.g. documentation).
Diffstat (limited to 'hooks')
| -rwxr-xr-x | hooks/live | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,9 +32,9 @@ then . /etc/live/boot.conf fi -if ls /etc/live/boot.d/* > /dev/null 2>&1 +if ls /etc/live/boot.d/*.conf > /dev/null 2>&1 then - for _FILE in /etc/live/boot.d/* + for _FILE in /etc/live/boot.d/*.conf do . ${_FILE} done |
