Ver Fonte

sys tweaks

Danja Vasiliev há 10 anos atrás
pai
commit
cecee41ed1

+ 7 - 7
openwrt/common/etc/config/fstab

@@ -18,10 +18,10 @@ config 'mount'
   option 'enabled_fsck' '0' 
   option 'options'      'rw,noatime,nodiratime'
 
-## this is for vfat
-#config 'mount'
-#  option 'label'        'SUPERGLUE'
-#  option 'target'       '/www/htdocs'
-#  option 'enabled'      '1' 
-#  option 'enabled_fsck' '0' 
-#  option 'options'      'rw,noatime'
+## compatibility
+config 'mount'
+  option 'label'        'sg-user'
+  option 'target'       '/www/htdocs'
+  option 'enabled'      '1' 
+  option 'enabled_fsck' '0' 
+  option 'options'      'rw,noatime,nodiratime'

+ 6 - 1
openwrt/common/etc/rc.local

@@ -1,4 +1,9 @@
-## some checks specific to Superglue
+#!/bin/bash
+
+## tweaks
+sysctl -w vm.swappiness=10
+
+## checks specific to Superglue
 
 ## where Superglue storage is mounted 
 _SG=/www/htdocs

+ 1 - 1
openwrt/sg_0.1.revision

@@ -1 +1 @@
-6
+7