dotfiles

My collection of dotfiles
git clone git://git.stellar-nexus.ru/dotfiles
Log | Files | Refs

01-rc.init.diff (1071B)


      1 --- sinit-scripts-main/bin/rc.init
      2 +++ sinit-scripts-main/bin/rc.init
      3 @@ -11,10 +11,9 @@
      4  echo "Mounting everything in /etc/fstab..."
      5  mount -a -O no_netdev
      6  
      7 -echo "Mounting sys, efi, proc and dev..."
      8 +echo "Mounting sys, proc and dev..."
      9  mountpoint -q /sys                 || mount -t sysfs sys /sys -o nosuid,noexec,nodev
     10  mountpoint -q /sys/kernel/security || mount -n -t securityfs securityfs /sys/kernel/security
     11 -[ -d /sys/firmware/efi ] && (mountpoint -q /sys/firmware/efi/efivars || mount -n -t efivarfs -o ro efivarfs /sys/firmware/efi/efivars)
     12  mountpoint -q /proc || mount -t proc proc /proc -o nosuid,noexec,nodev
     13  mountpoint -q /dev  || mount -t devtmpfs dev /dev -o mode=0755,nosuid
     14  
     15 @@ -50,9 +49,6 @@
     16  mountpoint -q /dev/shm || mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
     17  mountpoint -q /run     || mount -t tmpfs run /run -o mode=0755,nosuid,nodev
     18  
     19 -echo "Enabling swap..."
     20 -swapon -a
     21 -
     22  echo "Setting up hostname..."
     23  [ -s /etc/hostname ] && HOSTNAME="$(cat /etc/hostname)"
     24  [ "$HOSTNAME" ] && echo "$HOSTNAME" >| /proc/sys/kernel/hostname