mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Use standard location of services script in /usr/sbin/services.sh
This is the location used in the original eeepc software Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
9da079fc67
commit
2fb32d1c63
1 file changed
+1
-3
@@ -59,7 +59,6 @@ THE SOFTWARE.
|
|||||||
#define DEFUSER "user"
|
#define DEFUSER "user"
|
||||||
#define HOMEDEV "/dev/sda6"
|
#define HOMEDEV "/dev/sda6"
|
||||||
#define AGPDRV "intel-agp"
|
#define AGPDRV "intel-agp"
|
||||||
#define SERVICES "/sbin/services.sh"
|
|
||||||
#define REMOUNT_ROOTFS_RW
|
#define REMOUNT_ROOTFS_RW
|
||||||
#define MAKE_DEVICES
|
#define MAKE_DEVICES
|
||||||
#else /* original Eeepc distribution */
|
#else /* original Eeepc distribution */
|
||||||
@@ -68,7 +67,6 @@ THE SOFTWARE.
|
|||||||
#define GETTY "/sbin/getty 38400 tty3"
|
#define GETTY "/sbin/getty 38400 tty3"
|
||||||
#define RUNPARTS "/bin/run-parts --arg=-i"
|
#define RUNPARTS "/bin/run-parts --arg=-i"
|
||||||
#define DEFUSER "user"
|
#define DEFUSER "user"
|
||||||
#define SERVICES "/usr/sbin/services.sh"
|
|
||||||
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -352,7 +350,7 @@ int main()
|
|||||||
|
|
||||||
system(GETTY " &");
|
system(GETTY " &");
|
||||||
sleep(1);
|
sleep(1);
|
||||||
system(SERVICES " &> /dev/null &");
|
system("/usr/sbin/services.sh &> /dev/null &");
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
sigemptyset(&nmask);
|
sigemptyset(&nmask);
|
||||||
|
|||||||
Reference in new issue
Block a user