diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/env | 1 | ||||
| -rwxr-xr-x | config/init.hooks/devfs | 3 | ||||
| -rwxr-xr-x | config/init.hooks/procfs | 3 | ||||
| -rwxr-xr-x | config/init.hooks/shell | 6 | ||||
| -rwxr-xr-x | config/init.hooks/start | 8 | ||||
| -rwxr-xr-x | config/init.hooks/stop | 2 | ||||
| -rwxr-xr-x | config/init.hooks/sysfs | 3 |
7 files changed, 26 insertions, 0 deletions
@@ -1,2 +1,3 @@ PATH=/system/core:/system/utils:/system/scripts MANUALS=/system/manual/ +HOME=/ diff --git a/config/init.hooks/devfs b/config/init.hooks/devfs new file mode 100755 index 0000000..77ec1cf --- /dev/null +++ b/config/init.hooks/devfs @@ -0,0 +1,3 @@ +#!/system/core/smash + +mount devtmpfs none /system/devices diff --git a/config/init.hooks/procfs b/config/init.hooks/procfs new file mode 100755 index 0000000..2376461 --- /dev/null +++ b/config/init.hooks/procfs @@ -0,0 +1,3 @@ +#!/system/core/smash + +mount proc none /system/process diff --git a/config/init.hooks/shell b/config/init.hooks/shell new file mode 100755 index 0000000..be975f4 --- /dev/null +++ b/config/init.hooks/shell @@ -0,0 +1,6 @@ +#!/system/core/smash +cd $[HOME] + +clear +read /system/config/banner | mdv +smash diff --git a/config/init.hooks/start b/config/init.hooks/start new file mode 100755 index 0000000..49ed1af --- /dev/null +++ b/config/init.hooks/start @@ -0,0 +1,8 @@ +#!/system/core/smash + +cd /system/config/init.hooks/ + +./devfs +./sysfs +./procfs +./shell diff --git a/config/init.hooks/stop b/config/init.hooks/stop new file mode 100755 index 0000000..159fdcb --- /dev/null +++ b/config/init.hooks/stop @@ -0,0 +1,2 @@ +#!/system/core/smash +poweroff diff --git a/config/init.hooks/sysfs b/config/init.hooks/sysfs new file mode 100755 index 0000000..f54d57c --- /dev/null +++ b/config/init.hooks/sysfs @@ -0,0 +1,3 @@ +#!/system/core/smash + +mount sysfs none /system/info |