Changeset 3293 in MondoRescue for branches/3.2/mindi
- Timestamp:
- May 27, 2014, 5:53:16 PM (10 years ago)
- Location:
- branches/3.2/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3292 r3293 914 914 915 915 LogProgress() { 916 local i progress modres noof_lines 916 local i progress modres noof_lines title 917 917 918 918 progress=$1 919 919 noof_lines=$2 920 921 echo -en "\r\t\t\t\t\t\t\t\t" 920 title=$3 921 922 922 i=$(($progress*100)) 923 923 if [ $noof_lines -ne 0 ]; then … … 926 926 i=0 927 927 fi 928 echo -en "$i" 929 echo -en "%" 930 modres=$(($progress%4)) 931 [ "$modres" -eq "0" ] && echo -en "\t/" 932 [ "$modres" -eq "1" ] && echo -en "\t-" 933 [ "$modres" -eq "2" ] && echo -en "\t\\" 934 [ "$modres" -eq "3" ] && echo -en "\t|" 928 929 if [ _"$MONDO_SHARE" != _"" ]; then 930 echo "$title $i%" 931 else 932 echo -en "\r\t\t\t\t\t\t\t\t" 933 echo -en "$i" 934 echo -en "%" 935 modres=$(($progress%4)) 936 [ "$modres" -eq "0" ] && echo -en "\t/" 937 [ "$modres" -eq "1" ] && echo -en "\t-" 938 [ "$modres" -eq "2" ] && echo -en "\t\\" 939 [ "$modres" -eq "3" ] && echo -en "\t|" 940 fi 935 941 } 936 942 -
branches/3.2/mindi/rootfs/etc/init.d/rcS
r3286 r3293 383 383 mv /dev /dev.static 384 384 mkdir /dev 385 mount -n -o size=5M,mode=0755 -t tmpfs none /dev 386 MakeExtraNodes 387 mount -n -t devpts -o mode=620 none /dev/pts 385 # Contributed during LinuxCon Japan ! 386 if [ -x /usr/lib/systemd/systemd-udevd ]; then 387 mount -n -t devtmpfs none /dev 388 else 389 mount -n -o size=5M,mode=0755 -t tmpfs none /dev 390 MakeExtraNodes 391 mount -n -t devpts -o mode=620 none /dev/pts 392 fi 388 393 mount -n -t tmpfs none /dev/shm 389 394 if [ -e /proc/sys/kernel/hotplug ]; then … … 410 415 # from https://github.com/hut/minirc/blob/master/rc 411 416 echo "INFO: This is the systemd version of udev" 412 mkdir -p /run/systemd/journal 413 mount -n -t tmpfs tmpfs /sys/fs/cgroup 417 # Contributed during LinuxCon Japan 418 #mkdir -p /run/systemd/journal 419 #mount -n -t tmpfs tmpfs /sys/fs/cgroup 414 420 #mount -n -t cgroup cgroup /sys/fs/cgroup/systemd 415 421 /usr/lib/systemd/systemd-udevd --daemon
Note:
See TracChangeset
for help on using the changeset viewer.