home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- TMP=/var/log/setup/tmp
- export TEXTDOMAIN=SeTDOS
-
- if [ ! -d $TMP ]; then
- mkdir -p $TMP
- fi
- rm -f $TMP/SeTDOS
- touch $TMP/SeTDOS
- crunch () { # remove extra whitespace
- read STRING;
- echo $STRING
- }
-
- dialog --title "`gettext "Additional partitions setup"`" \
- --yesno "`gettext "Would you like to detect and add the rest of your partitions to your /etc/fstab \
- so that these partitions are visible from Linux?"`" \
- 6 70
- if [ ! $? = 0 ]; then
- exit
- fi
- rebuildfstab
-
- echo "`gettext "Adding this information to your /etc/fstab:"`" > $TMP/tempmsg
-
- cat $TMP/SeTDOS >> $TMP/tempmsg
- dialog --title "`gettext "DONE ADDING PARTITIONS"`" --no-cancel --textbox $TMP/tempmsg 15 72
-