Lines 13-19
Link Here
|
13 |
[ -z "$RAM_CONFIG_FILE" ] && RAM_CONFIG_FILE=$CONFIG_DIR/ram.conf |
13 |
[ -z "$RAM_CONFIG_FILE" ] && RAM_CONFIG_FILE=$CONFIG_DIR/ram.conf |
14 |
[ -z "$DISK_CONFIG_FILE" ] && DISK_CONFIG_FILE=$CONFIG_DIR/disk.conf |
14 |
[ -z "$DISK_CONFIG_FILE" ] && DISK_CONFIG_FILE=$CONFIG_DIR/disk.conf |
15 |
[ -z "$S2_CONFIG_FILE" ] && S2_CONFIG_FILE=$CONFIG_DIR/suspend2.conf |
15 |
[ -z "$S2_CONFIG_FILE" ] && S2_CONFIG_FILE=$CONFIG_DIR/suspend2.conf |
16 |
[ -z "$US_CONFIG_FILE" ] && US_CONFIG_FILE=$CONFIG_DIR/ususpend.conf |
16 |
[ -z "$US_DISK_CONFIG_FILE" ] && US_DISK_CONFIG_FILE=$CONFIG_DIR/ususpend-disk.conf |
|
|
17 |
[ -z "$US_RAM_CONFIG_FILE" ] && US_RAM_CONFIG_FILE=$CONFIG_DIR/ususpend-ram.conf |
18 |
[ -z "$US_BOTH_CONFIG_FILE" ] && US_BOTH_CONFIG_FILE=$CONFIG_DIR/ususpend-both.conf |
19 |
[ -z "$SYSFS_DISK_CONFIG_FILE" ] && SYSFS_DISK_CONFIG_FILE=$CONFIG_DIR/sysfs-disk.conf |
20 |
[ -z "$SYSFS_RAM_CONFIG_FILE" ] && SYSFS_RAM_CONFIG_FILE=$CONFIG_DIR/sysfs-ram.conf |
17 |
[ -z "$COMMON_CONFIG_FILE" ] && COMMON_CONFIG_FILE=$CONFIG_DIR/common.conf |
21 |
[ -z "$COMMON_CONFIG_FILE" ] && COMMON_CONFIG_FILE=$CONFIG_DIR/common.conf |
18 |
[ -z "$BLACKLIST" ] && BLACKLIST=$CONFIG_DIR/blacklisted-modules |
22 |
[ -z "$BLACKLIST" ] && BLACKLIST=$CONFIG_DIR/blacklisted-modules |
19 |
[ -z "$LOGROTATE_DIR" ] && LOGROTATE_DIR=${BASE_DIR}/etc/logrotate.d |
23 |
[ -z "$LOGROTATE_DIR" ] && LOGROTATE_DIR=${BASE_DIR}/etc/logrotate.d |
Lines 52-58
Link Here
|
52 |
cp -a ram.conf ${RAM_CONFIG_FILE}.dist |
56 |
cp -a ram.conf ${RAM_CONFIG_FILE}.dist |
53 |
cp -a disk.conf ${DISK_CONFIG_FILE}.dist |
57 |
cp -a disk.conf ${DISK_CONFIG_FILE}.dist |
54 |
cp -a suspend2.conf ${S2_CONFIG_FILE}.dist |
58 |
cp -a suspend2.conf ${S2_CONFIG_FILE}.dist |
55 |
cp -a ususpend.conf ${US_CONFIG_FILE}.dist |
59 |
cp -a ususpend-disk.conf ${US_DISK_CONFIG_FILE}.dist |
|
|
60 |
cp -a ususpend-ram.conf ${US_RAM_CONFIG_FILE}.dist |
61 |
cp -a ususpend-both.conf ${US_BOTH_CONFIG_FILE}.dist |
62 |
cp -a sysfs-disk.conf ${SYSFS_DISK_CONFIG_FILE}.dist |
63 |
cp -a sysfs-ram.conf ${SYSFS_RAM_CONFIG_FILE}.dist |
56 |
cp -a common.conf ${COMMON_CONFIG_FILE}.dist |
64 |
cp -a common.conf ${COMMON_CONFIG_FILE}.dist |
57 |
EXISTING_CONFIG=1 |
65 |
EXISTING_CONFIG=1 |
58 |
else |
66 |
else |
Lines 60-66
Link Here
|
60 |
cp -a ram.conf $RAM_CONFIG_FILE |
68 |
cp -a ram.conf $RAM_CONFIG_FILE |
61 |
cp -a disk.conf ${DISK_CONFIG_FILE} |
69 |
cp -a disk.conf ${DISK_CONFIG_FILE} |
62 |
cp -a suspend2.conf ${S2_CONFIG_FILE} |
70 |
cp -a suspend2.conf ${S2_CONFIG_FILE} |
63 |
cp -a ususpend.conf ${US_CONFIG_FILE} |
71 |
cp -a ususpend-disk.conf ${US_DISK_CONFIG_FILE} |
|
|
72 |
cp -a ususpend-ram.conf ${US_RAM_CONFIG_FILE} |
73 |
cp -a ususpend-both.conf ${US_BOTH_CONFIG_FILE} |
74 |
cp -a sysfs-disk.conf ${SYSFS_DISK_CONFIG_FILE} |
75 |
cp -a sysfs-ram.conf ${SYSFS_RAM_CONFIG_FILE} |
64 |
cp -a common.conf ${COMMON_CONFIG_FILE} |
76 |
cp -a common.conf ${COMMON_CONFIG_FILE} |
65 |
fi |
77 |
fi |
66 |
|
78 |
|