Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / lib / tasksel / tests / | server ip : 172.67.156.115 your ip : 172.71.254.133 H O M E |
Filename | /usr/lib/tasksel/tests/laptop |
Size | 265 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:52 |
Last modified | 04-Apr-2014 20:58 |
Last accessed | 27-Apr-2025 09:52 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
# Causes a task to be selected if the machine appears to be a laptop.
if [ "$NEW_INSTALL" ]; then
if which laptop-detect >/dev/null 2>&1 && \
laptop-detect; then
exit 2 # mark for install
else
exit 3 # do not mark for install
fi
else
exit 3
fi
# Causes a task to be selected if the machine appears to be a laptop.
if [ "$NEW_INSTALL" ]; then
if which laptop-detect >/dev/null 2>&1 && \
laptop-detect; then
exit 2 # mark for install
else
exit 3 # do not mark for install
fi
else
exit 3
fi