Bladeren bron

dir505 fs updates

Danja Vasiliev 10 jaren geleden
bovenliggende
commit
5b08f49448

+ 14 - 0
openwrt/dir505/etc/banner

@@ -0,0 +1,14 @@
+                                _
+  ___  _ _  ___  ___  ___  ___ | | _ _  ___
+ |_ -|| | || . || -_||  _|| . || || | || -_|
+ |___||___||  _||___||_|  |_  ||_||___||___|
+           |_|   personal |___| server
+ 
+ -----------------------------------------------------
+ (based on OpenWRT trunk r40774)
+ -----------------------------------------------------
+ provides now:            will provide soon:
+   * HTTP (lighthttp)       * SMTP      
+   * Bash CGI               * IMAP
+                            * Lua CGI
+ -----------------------------------------------------

+ 6 - 8
openwrt/dir505/etc/config/fstab

@@ -1,15 +1,13 @@
 config 'global'
-	option	anon_swap	'0'
-	option	anon_mount	'0'
+	option	anon_swap	'1'
+	option	anon_mount	'1'
 	option	auto_swap	'1'
 	option	auto_mount	'1'
 	option	delay_root	'5'
 	option	check_fs	'0'
 
-config 'mount'
-	option	target	'/mnt/sda1'
-	option	uuid	'e68b2987-b05f-45b7-9f32-c8afdd06d409'
-        option  fstype  'ext3'
-	option  options ''
-	option	enabled	'1'
+
+config 'global' 'automount'
+  option 'from_fstab' '1'
+  option 'anon_mount' '1'
 

+ 1 - 1
openwrt/dir505/etc/lighttpd/lighttpd.conf

@@ -18,7 +18,7 @@ server.errorlog = "/www/tmp/lighttpd-error.log"
 accesslog.filename = "/www/tmp/lighttpd-access.log"
 server.pid-file = "/var/run/lighttpd.pid"
 server.username = "httpd"
-server.groupname = "nobody"
+server.groupname = "www-data"
 server.port = 80
 
 #debug.log-request-handling = "enable"

+ 6 - 0
openwrt/dir505/etc/passwd

@@ -0,0 +1,6 @@
+root:x:0:0:root:/root:/bin/ash
+daemon:*:1:1:daemon:/var:/bin/false
+ftp:*:55:55:ftp:/home/ftp:/bin/false
+network:*:101:101:network:/var:/bin/false
+nobody:*:65534:65534:nobody:/var:/bin/false
+httpd:x:999:999::/www:/bin/false

+ 6 - 0
openwrt/dir505/etc/shadow

@@ -0,0 +1,6 @@
+root::15999:0:99999:7:::
+daemon:*:0:0:99999:7:::
+ftp:*:0:0:99999:7:::
+network:*:0:0:99999:7:::
+nobody:*:0:0:99999:7:::
+httpd:!:16134::::::