Changeset 670
- Timestamp:
- 07/05/08 13:53:14 (2 months ago)
- Files:
-
- cdd-utils/trunk/debian/changelog (modified) (2 diffs)
- cdd-utils/trunk/lib/system.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cdd-utils/trunk/debian/changelog
r661 r670 1 cdd-utils (0.12. 5) 64studio; urgency=low1 cdd-utils (0.12.6) UNRELEASED; urgency=low 2 2 3 3 * [lib]: … … 10 10 - server 11 11 . add cups script for sharing printers with samba 12 - system 13 . change grub timeout in /boot/grub/menu.list 12 14 * [bin] 13 15 - qjackctl-wrapper: hide qjack's main window at startup cdd-utils/trunk/lib/system.sh
r583 r670 106 106 grub () { 107 107 if [ "$1" != "" ]; then 108 timeout= $1109 else 110 timeout= 5108 timeout="$1" 109 else 110 timeout="5" 111 111 fi 112 112 if [ "$2" != "" ]; then 113 title= $2113 title="$2" 114 114 else 115 115 title="Custom system" … … 117 117 118 118 # Grub timeout and directory 119 mkdir -p /boot/grub 120 119 121 cfg=/usr/sbin/update-grub 120 122 if ! exists $cfg; then warning "$cfg not found"; return; fi 121 123 sed -i -e "s|^timeout.*|timeout $timeout|g" $cfg 122 mkdir -p /boot/grub 124 125 cfg=/boot/grub/menu.lst 126 if ! exists $cfg; then warning "$cfg not found"; return; fi 127 sed -i -e "s|^timeout.*|timeout $timeout|g" $cfg 123 128 124 129 # Set custom title
